]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit13feb52fce43121a2e39834801508d015b0f868d
tree9226578db4739053cb339c4a2b625c58d058a74e
parenta8d2f472750cd82530566bf17ecec7d41b0cc485
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