yanger: show proper phy name for Wi-Fi phys

This commit is contained in:
Mattias Walström
2026-01-23 13:03:58 +01:00
parent fb8966fabd
commit 0ac4c4ca6f
+2 -2
View File
@@ -190,11 +190,11 @@ def get_wifi_phy_info():
# Build descriptions
for phy, info in phy_info.items():
if info["iface"] and info["band"] != "Unknown":
info["description"] = f"WiFi Radio {info['iface']} ({info['band']})"
info["description"] = f"WiFi Radio {phy}"
elif info["band"] != "Unknown":
info["description"] = f"WiFi Radio ({info['band']})"
elif info["iface"]:
info["description"] = f"WiFi Radio {info['iface']}"
info["description"] = f"WiFi Radio {phy}"
else:
info["description"] = "WiFi Radio"