diff options
author | Avinash Patil <patila@marvell.com> | 2014-02-07 19:30:41 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:36:25 -0500 |
commit | be104b916caf36af7e664b61149389b96c1c0ff6 (patch) | |
tree | fae016fbedb047f7c817a40c11c793e1691cc324 /drivers/net/wireless/mwifiex/main.h | |
parent | b06c5321141382e72790077ef0caa1e42b69ff2d (diff) |
mwifiex: disable all TDLS link during disconnection
During deauthenticate/link lost event, disable all TDLS links as
TDLS would not work when infra connection is not active.
Also this will avoid an issue where ping to peer station doesn't
work after reassociation to AP where we had created TDLS link in
earlier association.
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/main.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/main.h b/drivers/net/wireless/mwifiex/main.h index 91df7ee4c612..82754ed94a8a 100644 --- a/drivers/net/wireless/mwifiex/main.h +++ b/drivers/net/wireless/mwifiex/main.h | |||
@@ -1234,6 +1234,7 @@ void mwifiex_process_tdls_action_frame(struct mwifiex_private *priv, | |||
1234 | u8 *buf, int len); | 1234 | u8 *buf, int len); |
1235 | int mwifiex_tdls_oper(struct mwifiex_private *priv, u8 *peer, u8 action); | 1235 | int mwifiex_tdls_oper(struct mwifiex_private *priv, u8 *peer, u8 action); |
1236 | int mwifiex_get_tdls_link_status(struct mwifiex_private *priv, u8 *mac); | 1236 | int mwifiex_get_tdls_link_status(struct mwifiex_private *priv, u8 *mac); |
1237 | void mwifiex_disable_all_tdls_links(struct mwifiex_private *priv); | ||
1237 | bool mwifiex_is_bss_in_11ac_mode(struct mwifiex_private *priv); | 1238 | bool mwifiex_is_bss_in_11ac_mode(struct mwifiex_private *priv); |
1238 | u8 mwifiex_get_center_freq_index(struct mwifiex_private *priv, u8 band, | 1239 | u8 mwifiex_get_center_freq_index(struct mwifiex_private *priv, u8 band, |
1239 | u32 pri_chan, u8 chan_bw); | 1240 | u32 pri_chan, u8 chan_bw); |