Skip to content

Commit

Permalink
always send all IEs inside the wifi scan result
Browse files Browse the repository at this point in the history
Signed-off-by: John Crispin <john@phrozen.org>
  • Loading branch information
blogic committed May 25, 2022
1 parent 85104eb commit cf89dd4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions command/cmd_wifiscan.uc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
let verbose = args?.verbose ? true : false;
let active = args?.active ? true : false;
let bandwidth = args?.bandwidth || 0;
let ies = args?.ies || [];
let override_dfs = args?.override_dfs ? true : false;
let nl = require("nl80211");
let rtnl = require("rtnl");
Expand Down Expand Up @@ -219,8 +218,8 @@ function wifi_scan() {
res.vht_oper = b64enc(ie.data);
break;
default:
if (ie.type in ies)
push(res.ies, { type: ie.type, data: b64enc(ie.data) });
push(res.ies, { type: ie.type, data: b64enc(ie.data) });
break;
}
}

Expand Down

0 comments on commit cf89dd4

Please sign in to comment.