mwifiex: disable TDLS link upon tear down event
authorAvinash Patil <patila@marvell.com>
Wed, 7 May 2014 05:02:44 +0000 (22:02 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2014 20:08:08 +0000 (16:08 -0400)
commit79ff434612aeae8b64159c61446d1ebc7d88bb50
tree13ae8bae98cfa525d66b46cd921f8e2ab8990007
parentd29caf257ae7f767edef5354524cb31b51985a40
mwifiex: disable TDLS link upon tear down event

This patch adds code to disable TDLS link upon reception of TDLS
teardown event from peer. Teardown event can happen either
because of TDLS teardown packet from peer or internal timeout
configured during TDLS setup. Event is propogated to cfg80211
so that userspace application can take appropriate action.

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/fw.h
drivers/net/wireless/mwifiex/sta_event.c