mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-17 18:34:03 -05:00
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
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user