Skip to content

Commit

Permalink
wifi-scripts: wifi-detect.uc: skip null entries on nl80211 phy dump
Browse files Browse the repository at this point in the history
This can happen on incomplete device probe

Signed-off-by: Felix Fietkau <[email protected]>
  • Loading branch information
nbd168 committed Oct 1, 2024
1 parent 7e972fe commit d3628ca
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit d3628ca

Please sign in to comment.