aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2017-01-01 22:27:58 (GMT)
committerJouni Malinen <j@w1.fi>2017-01-03 14:02:56 (GMT)
commitde6ec8b55841d6385be5b2d1c8ac4698fe1a5b60 (patch)
treee11314860a5a08c157debed3b6523ec47e0b1c3a /wpa_supplicant/sme.c
parent6774c6a9fe383d9723c02d06fedae307ab5d3c40 (diff)
downloadhostap-de6ec8b55841d6385be5b2d1c8ac4698fe1a5b60.zip
hostap-de6ec8b55841d6385be5b2d1c8ac4698fe1a5b60.tar.gz
hostap-de6ec8b55841d6385be5b2d1c8ac4698fe1a5b60.tar.bz2
Enable Beacon Report using beacon table for all drivers
The special parameters for beacon report scan are not needed for the beacon report when using the beacon table measurement mode. Advertise support for this case regardless of whether the driver supports the scan parameters. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index ce116f6..18b1165 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -189,8 +189,8 @@ static void sme_auth_handle_rrm(struct wpa_supplicant *wpa_s,
if (wpa_s->drv_rrm_flags & WPA_DRIVER_FLAGS_SUPPORT_BEACON_REPORT)
*pos |= WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE |
- WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE |
- WLAN_RRM_CAPS_BEACON_REPORT_TABLE;
+ WLAN_RRM_CAPS_BEACON_REPORT_ACTIVE;
+ *pos |= WLAN_RRM_CAPS_BEACON_REPORT_TABLE;
if (wpa_s->lci)
pos[1] |= WLAN_RRM_CAPS_LCI_MEASUREMENT;