aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/events.c
diff options
context:
space:
mode:
authorAvraham Stern <avraham.stern@intel.com>2017-06-11 12:41:19 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-17 14:43:32 (GMT)
commitb3c148e9f8a172ec19df810ecb07362315ea7b3d (patch)
treee5ef76b0aa8596061bfe7ff52460440c8d01f393 /wpa_supplicant/events.c
parent51143af7e7927be44ed077763e8919f2ea45f2d5 (diff)
downloadhostap-b3c148e9f8a172ec19df810ecb07362315ea7b3d.zip
hostap-b3c148e9f8a172ec19df810ecb07362315ea7b3d.tar.gz
hostap-b3c148e9f8a172ec19df810ecb07362315ea7b3d.tar.bz2
RRM: Send reject/refuse response only to unicast measurement request
IEEE Std 802.11-2016, 11.11.6 specifies that a station that is unable to make a requested measurement or refuses to make a measurement shall respond only if the measurement request was received within an individually addressed radio measurement request frame, but shall not respond if such a request was received in a group addressed frame. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Diffstat (limited to 'wpa_supplicant/events.c')
-rw-r--r--wpa_supplicant/events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 7059dac..db7de89 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -3582,6 +3582,7 @@ static void wpas_event_rx_mgmt_action(struct wpa_supplicant *wpa_s,
if (category == WLAN_ACTION_RADIO_MEASUREMENT &&
payload[0] == WLAN_RRM_RADIO_MEASUREMENT_REQUEST) {
wpas_rrm_handle_radio_measurement_request(wpa_s, mgmt->sa,
+ mgmt->da,
payload + 1,
plen - 1);
return;