diff options
author | Subrat Dash <sdash@qca.qualcomm.com> | 2012-03-18 20:52:10 -1000 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2012-03-30 11:12:33 +0300 |
commit | 0e28de0d2b5cafa1302ef1e48621a13b54af9749 (patch) | |
tree | f5dcb5297c6bb0cc5956ab888077ca7956d7a17b /src/rsn_supp | |
parent | 4c374cde2f0b789d5aa1180667173358b71d492c (diff) | |
download | external_wpa_supplicant_8_ti-0e28de0d2b5cafa1302ef1e48621a13b54af9749.zip external_wpa_supplicant_8_ti-0e28de0d2b5cafa1302ef1e48621a13b54af9749.tar.gz external_wpa_supplicant_8_ti-0e28de0d2b5cafa1302ef1e48621a13b54af9749.tar.bz2 |
TDLS: Add support for TDLS frame RX with bridge interfaces
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/rsn_supp')
-rw-r--r-- | src/rsn_supp/tdls.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rsn_supp/tdls.c b/src/rsn_supp/tdls.c index 6ebc37a..7646ca8 100644 --- a/src/rsn_supp/tdls.c +++ b/src/rsn_supp/tdls.c @@ -2202,7 +2202,9 @@ int wpa_tdls_init(struct wpa_sm *sm) if (sm == NULL) 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, sm, 0); if (sm->l2_tdls == NULL) { |