aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-04-04 06:31:13 (GMT)
committerJouni Malinen <j@w1.fi>2010-04-04 06:31:13 (GMT)
commit2220821113bbe85e5d1431a18b8f5cf349c86426 (patch)
treeab8fda1675b3584141c84f2bfaa80767ef7222c0
parent21c9b6903ef5611ba99e93b8ae259156746985b4 (diff)
downloadhostap-2220821113bbe85e5d1431a18b8f5cf349c86426.zip
hostap-2220821113bbe85e5d1431a18b8f5cf349c86426.tar.gz
hostap-2220821113bbe85e5d1431a18b8f5cf349c86426.tar.bz2
FT: Use bridge interface (if set) for RRB connection
This fixes receiving of RRB messages between FT APs
-rw-r--r--src/ap/wpa_auth_glue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index 675c001..4cc1f61 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -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 ||