mwifiex: delete TDLS link upon Teardown event
authorAvinash Patil <patila@marvell.com>
Thu, 22 May 2014 05:02:29 +0000 (22:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2014 18:04:37 +0000 (14:04 -0400)
commitc1078bc98a3543b218c060f5d34f0c6f2beaeb88
tree9226578db4739053cb339c4a2b625c58d058a74e
parentd8d2f19feb169d3a87d67f9056ef06b7a9b56f98
mwifiex: delete TDLS link upon Teardown event

If userspace application does not take care of TDLS teardown
event, TDLS link would be present in driver database and thus
driver would send such packets on direct link while peer has
already severed link causing data traffic failure. Disable TDLS
link upon teardown event so as to ensure this does not happen.

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/sta_event.c