aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorAlexei Avshalom Lazar <ailizaro@codeaurora.org>2019-08-08 11:21:37 (GMT)
committerJouni Malinen <j@w1.fi>2019-09-13 13:14:17 (GMT)
commitdc6c3be4e2dd1c5d273f6deda4a2fbedbeaea193 (patch)
tree35c40dd51c9958e21a1cff152aa745949c5baed0 /wpa_supplicant/wps_supplicant.c
parent018edec9b2bd3db20605117c32ff79c1e625c432 (diff)
downloadhostap-dc6c3be4e2dd1c5d273f6deda4a2fbedbeaea193.zip
hostap-dc6c3be4e2dd1c5d273f6deda4a2fbedbeaea193.tar.gz
hostap-dc6c3be4e2dd1c5d273f6deda4a2fbedbeaea193.tar.bz2
wpa_supplicant: Add support for 60 GHz band channels 5 and 6
The previous support in the 60 GHz band was for channels 1-4. Add support for channels 5 and 6. Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-rw-r--r--wpa_supplicant/wps_supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 1dd69a2..6b03634 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -2689,7 +2689,7 @@ static int wpas_wps_nfc_rx_handover_sel(struct wpa_supplicant *wpa_s,
(attr.rf_bands == NULL ||
*attr.rf_bands & WPS_RF_50GHZ))
freq = 5000 + 5 * chan;
- else if (chan >= 1 && chan <= 4 &&
+ else if (chan >= 1 && chan <= 6 &&
(attr.rf_bands == NULL ||
*attr.rf_bands & WPS_RF_60GHZ))
freq = 56160 + 2160 * chan;