]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
FT: Use bridge interface (if set) for RRB connection
authorJouni Malinen <j@w1.fi>
Sun, 4 Apr 2010 06:31:13 +0000 (09:31 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 4 Apr 2010 06:31:13 +0000 (09:31 +0300)
This fixes receiving of RRB messages between FT APs

src/ap/wpa_auth_glue.c

index 675c0016ec7e03dd136736dfd0493a4a2734aaef..4cc1f61e54832cb2142575d600999be172931d6e 100644 (file)
@@ -429,7 +429,9 @@ int hostapd_setup_wpa(struct hostapd_data *hapd)
 
 #ifdef CONFIG_IEEE80211R
        if (!hostapd_drv_none(hapd)) {
-               hapd->l2 = l2_packet_init(hapd->conf->iface, NULL, ETH_P_RRB,
+               hapd->l2 = l2_packet_init(hapd->conf->bridge[0] ?
+                                         hapd->conf->bridge :
+                                         hapd->conf->iface, NULL, ETH_P_RRB,
                                          hostapd_rrb_receive, hapd, 0);
                if (hapd->l2 == NULL &&
                    (hapd->driver == NULL ||