Indicate EDMG in scan results
Add [EDMG] flag to scan results. Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
This commit is contained in:
parent
f6f8c6ade9
commit
35aed771f9
1 changed files with 9 additions and 0 deletions
|
@ -2876,6 +2876,15 @@ static int wpa_supplicant_ctrl_iface_scan_result(
|
|||
}
|
||||
if (bss_is_dmg(bss)) {
|
||||
const char *s;
|
||||
|
||||
if (get_ie_ext((const u8 *) (bss + 1), bss->ie_len,
|
||||
WLAN_EID_EXT_EDMG_OPERATION)) {
|
||||
ret = os_snprintf(pos, end - pos, "[EDMG]");
|
||||
if (os_snprintf_error(end - pos, ret))
|
||||
return -1;
|
||||
pos += ret;
|
||||
}
|
||||
|
||||
ret = os_snprintf(pos, end - pos, "[DMG]");
|
||||
if (os_snprintf_error(end - pos, ret))
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue