FT: Use bridge interface (if set) for RRB connection
This fixes receiving of RRB messages between FT APs
This commit is contained in:
parent
21c9b6903e
commit
2220821113
1 changed files with 3 additions and 1 deletions
|
@ -429,7 +429,9 @@ int hostapd_setup_wpa(struct hostapd_data *hapd)
|
||||||
|
|
||||||
#ifdef CONFIG_IEEE80211R
|
#ifdef CONFIG_IEEE80211R
|
||||||
if (!hostapd_drv_none(hapd)) {
|
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);
|
hostapd_rrb_receive, hapd, 0);
|
||||||
if (hapd->l2 == NULL &&
|
if (hapd->l2 == NULL &&
|
||||||
(hapd->driver == NULL ||
|
(hapd->driver == NULL ||
|
||||||
|
|
Loading…
Reference in a new issue