mwifiex: disable all TDLS link during disconnection
authorAvinash Patil <patila@marvell.com>
Sat, 8 Feb 2014 00:30:41 +0000 (16:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Feb 2014 20:36:25 +0000 (15:36 -0500)
commitbe104b916caf36af7e664b61149389b96c1c0ff6
treefae016fbedb047f7c817a40c11c793e1691cc324
parentb06c5321141382e72790077ef0caa1e42b69ff2d
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>
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/sta_event.c
drivers/net/wireless/mwifiex/tdls.c