]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
FT: Fix RRB for FT over-the-air case
authorGünther Kelleter <guenther.kelleter@devolo.de>
Mon, 18 Apr 2016 15:16:13 +0000 (17:16 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 18 Apr 2016 21:57:17 +0000 (00:57 +0300)
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>
src/ap/wpa_auth_glue.c

index 5fe0987fd9e53a36aca499d1ee5684459ee10cf6..21424147e443e144f44647045843ae5afd512de7 100644 (file)
@@ -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 :