#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
|
||||
|
||||
@@ -209,9 +209,13 @@ function backplane.attach(iface, type, device, print_no_fp)
|
||||
end
|
||||
elseif wl_nic and m_is_wl then
|
||||
-- the wireless NIC already has a modem
|
||||
device.closeAll()
|
||||
|
||||
print_no_fp("standby wireless modem connected")
|
||||
log.info("BKPLN: standby wireless modem connected")
|
||||
else
|
||||
device.closeAll()
|
||||
|
||||
print_no_fp("unassigned modem connected")
|
||||
log.warning("BKPLN: unassigned modem connected")
|
||||
end
|
||||
|
||||
@@ -157,9 +157,13 @@ function backplane.attach(type, device, iface, print_no_fp)
|
||||
end
|
||||
elseif wl_nic and m_is_wl then
|
||||
-- the wireless NIC already has a modem
|
||||
device.closeAll()
|
||||
|
||||
print_no_fp("standby wireless modem connected")
|
||||
log.info("BKPLN: standby wireless modem connected")
|
||||
else
|
||||
device.closeAll()
|
||||
|
||||
print_no_fp("unassigned modem connected")
|
||||
log.warning("BKPLN: unassigned modem connected")
|
||||
end
|
||||
|
||||
@@ -111,9 +111,13 @@ function backplane.attach(iface, type, device, print_no_fp)
|
||||
databus.tx_hw_wl_modem(true)
|
||||
elseif _bp.wl_nic and m_is_wl then
|
||||
-- the wireless NIC already has a modem
|
||||
device.closeAll()
|
||||
|
||||
print_no_fp("standby wireless modem connected")
|
||||
log.info("BKPLN: standby wireless modem connected")
|
||||
else
|
||||
device.closeAll()
|
||||
|
||||
print_no_fp("unassigned modem connected")
|
||||
log.warning("BKPLN: unassigned modem connected")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user