#580 fix to initial wireless modem DOWN message

This commit is contained in:
Mikayla Fischler
2025-11-08 18:18:29 -05:00
parent 6dea501946
commit 3f1cf217ac
4 changed files with 6 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ function backplane.init(config, __shared_memory)
local modem, iface = ppm.get_wireless_modem()
local wl_nic = network.nic(modem)
log.info("BKPLN: WIRELESS PHY_" .. util.trinary(modem, "UP ", "DOWN ") .. iface)
log.info("BKPLN: WIRELESS PHY_" .. util.trinary(modem, "UP ", "DOWN") .. (iface or ""))
-- set this as active if connected or if both modems are disconnected and this is preferred
if (modem and _bp.wlan_pref) or not (_bp.act_nic and _bp.act_nic.is_connected()) then