]> 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)
commitb7cd17d838004aaf6dce90af8cde351f1256ed3a
tree9226578db4739053cb339c4a2b625c58d058a74e
parent79bee46f97e212b4470daca7acc543119a4a76b5
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