Fix bool type values for setband
wpa_add_scan_freqs_list() was updated to use bool for the is_6ghz argument, but these callers were missed when updating the values from 0/1 to false/true. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
7dc7b88148
commit
2c2bfebca4
1 changed files with 3 additions and 3 deletions
|
@ -752,13 +752,13 @@ static void wpa_setband_scan_freqs(struct wpa_supplicant *wpa_s,
|
|||
|
||||
if (wpa_s->setband_mask & WPA_SETBAND_5G)
|
||||
wpa_add_scan_freqs_list(wpa_s, HOSTAPD_MODE_IEEE80211A, params,
|
||||
0);
|
||||
false);
|
||||
if (wpa_s->setband_mask & WPA_SETBAND_2G)
|
||||
wpa_add_scan_freqs_list(wpa_s, HOSTAPD_MODE_IEEE80211G, params,
|
||||
0);
|
||||
false);
|
||||
if (wpa_s->setband_mask & WPA_SETBAND_6G)
|
||||
wpa_add_scan_freqs_list(wpa_s, HOSTAPD_MODE_IEEE80211A, params,
|
||||
1);
|
||||
true);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue