#580 close all channels on standby modems on connect

This commit is contained in:
Mikayla Fischler
2025-11-09 15:44:57 -05:00
parent 82aff3b30b
commit 2b015759fd
4 changed files with 16 additions and 4 deletions

View File

@@ -295,13 +295,13 @@ function backplane.attach(type, device, iface)
end
elseif wl_nic and m_is_wl then
-- the wireless NIC already has a modem
device.closeAll()
log_sys("standby wireless modem connected")
log.info("BKPLN: standby wireless modem connected")
elseif wd_nic and wd_nic.is_modem(device) then
-- wired, but not active
log_sys("standby wired modem disconnected")
log.info("BKPLN: standby wired modem disconnected")
else
device.closeAll()
log_sys("unassigned modem connected")
log.warning("BKPLN: unassigned modem connected")
end