aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.c
diff options
context:
space:
mode:
authorGünther Kelleter <guenther.kelleter@devolo.de>2016-04-18 15:16:13 (GMT)
committerJouni Malinen <j@w1.fi>2016-04-18 21:57:17 (GMT)
commitb92d2a57ef097fe242508e4878163c970e487955 (patch)
tree213012391a2874dea9b0212588504b696fa4f6f3 /src/ap/wpa_auth_glue.c
parent9e5a5de55a893a083a945a9ba17e8ed01712f60f (diff)
downloadhostap-b92d2a57ef097fe242508e4878163c970e487955.zip
hostap-b92d2a57ef097fe242508e4878163c970e487955.tar.gz
hostap-b92d2a57ef097fe242508e4878163c970e487955.tar.bz2
FT: Fix RRB for FT over-the-air case
Commit 66d464067d626cc64c5a543a8f91fe58727f4e5e ('FT: Register RRB l2_packet only if FT-over-DS is enabled') 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 if FT is enabled. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>
Diffstat (limited to 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c2
1 files changed, 1 insertions, 1 deletions
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 :