[PATCH] hostapd: Save RM enabled capability of station with AP SME

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ouden <Ouden.Biz@xxxxxxxxx>

Save RM enabled capability element of an associating station
when hostapd use the device AP SME.

To avoid hostapd_cli cannot send the REQ_BEACON.

Signed-off-by: Ouden <Ouden.Biz@xxxxxxxxx>
---
 src/ap/drv_callbacks.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c
index 38506a097..493969793 100644
--- a/src/ap/drv_callbacks.c
+++ b/src/ap/drv_callbacks.c
@@ -493,6 +493,12 @@ skip_wpa_check:
 	}
 #endif /* CONFIG_IEEE80211R_AP */
 
+	if (elems.rrm_enabled &&
+	    elems.rrm_enabled_len >= sizeof(sta->rrm_enabled_capa)) {
+	    os_memcpy(sta->rrm_enabled_capa, elems.rrm_enabled,
+		sizeof(sta->rrm_enabled_capa));
+	}
+
 #ifdef CONFIG_FILS
 	if (sta->auth_alg == WLAN_AUTH_FILS_SK ||
 	    sta->auth_alg == WLAN_AUTH_FILS_SK_PFS ||
-- 
2.21.1 (Apple Git-122.3)


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux