[PATCH] FT: fix FT-over-the-air

Günther Kelleter guenther.kelleter at devolo.de
Mon Apr 18 08:16:13 PDT 2016


Commit 66d464067d626cc64c5a543a8f91fe58727f4e5e disabled RRB l2_packet
socket if ft_over_ds is disabled. But this socket is required for
FT-over-the-air too (FT key distribution).
Enable the socket regardless of ft_over_ds setting.

Signed-off-by: Günther Kelleter <guenther.kelleter at devolo.de>
---
 src/ap/wpa_auth_glue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index 5fe0987..2142414 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -650,7 +650,7 @@ int hostapd_setup_wpa(struct hostapd_data *hapd)
 	}
 
 #ifdef CONFIG_IEEE80211R
-	if (!hostapd_drv_none(hapd) && hapd->conf->ft_over_ds &&
+	if (!hostapd_drv_none(hapd) &&
 	    wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt)) {
 		hapd->l2 = l2_packet_init(hapd->conf->bridge[0] ?
 					  hapd->conf->bridge :
-- 
2.7.4.95.gfb37649




More information about the Hostap mailing list