aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorBeni Lev <beni.lev@intel.com>2016-04-06 16:42:17 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-17 09:43:57 (GMT)
commit00ed0aa2dd5d65053b9b1d65467b2dba69183171 (patch)
treeb708685360a1c7c6925f6e9812c84874b3bd8f30 /wpa_supplicant
parentb5d172e57890064d5004d9ad83ae9ff4b1f88bad (diff)
downloadhostap-00ed0aa2dd5d65053b9b1d65467b2dba69183171.zip
hostap-00ed0aa2dd5d65053b9b1d65467b2dba69183171.tar.gz
hostap-00ed0aa2dd5d65053b9b1d65467b2dba69183171.tar.bz2
SME: Add support for global RRM flag
Add RRM to SME authentication/association if the global RRM flag is set. Signed-off-by: Beni Lev <beni.lev@intel.com>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/sme.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 70524cc..2fbb2c6 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -161,9 +161,10 @@ static void sme_auth_handle_rrm(struct wpa_supplicant *wpa_s,
return;
}
- if (!(wpa_s->drv_rrm_flags &
- WPA_DRIVER_FLAGS_DS_PARAM_SET_IE_IN_PROBES) ||
- !(wpa_s->drv_rrm_flags & WPA_DRIVER_FLAGS_QUIET)) {
+ if (!((wpa_s->drv_rrm_flags &
+ WPA_DRIVER_FLAGS_DS_PARAM_SET_IE_IN_PROBES) &&
+ (wpa_s->drv_rrm_flags & WPA_DRIVER_FLAGS_QUIET)) &&
+ !(wpa_s->drv_rrm_flags & WPA_DRIVER_FLAGS_SUPPORT_RRM)) {
wpa_printf(MSG_DEBUG,
"RRM: Insufficient RRM support in driver - do not use RRM");
return;