mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 02:40:19 +00:00
wifi-scripts: wifi-detect.uc: skip null entries on nl80211 phy dump
This can happen on incomplete device probe Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
7e972fe242
commit
d3628ca209
@ -79,6 +79,9 @@ function wiphy_detect() {
|
||||
return;
|
||||
|
||||
for (let phy in phys) {
|
||||
if (!phy)
|
||||
continue;
|
||||
|
||||
let name = phy.wiphy_name;
|
||||
let path = phy_path(name);
|
||||
let info = {
|
||||
|
Loading…
Reference in New Issue
Block a user