TDLS: Add support for TDLS frame RX with bridge interfaces
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
4c374cde2f
commit
0e28de0d2b
1 changed files with 3 additions and 1 deletions
|
@ -2202,7 +2202,9 @@ int wpa_tdls_init(struct wpa_sm *sm)
|
||||||
if (sm == NULL)
|
if (sm == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
sm->l2_tdls = l2_packet_init(sm->ifname, sm->own_addr,
|
sm->l2_tdls = l2_packet_init(sm->bridge_ifname ? sm->bridge_ifname :
|
||||||
|
sm->ifname,
|
||||||
|
sm->own_addr,
|
||||||
ETH_P_80211_ENCAP, wpa_supplicant_rx_tdls,
|
ETH_P_80211_ENCAP, wpa_supplicant_rx_tdls,
|
||||||
sm, 0);
|
sm, 0);
|
||||||
if (sm->l2_tdls == NULL) {
|
if (sm->l2_tdls == NULL) {
|
||||||
|
|
Loading…
Reference in a new issue