#580 close all channels on standby modems on connect
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user