mwifiex: do not explicitly disable TDLS link during teardown

When Teardown event from FW is indicated to userspace, userspace
would trigger tdls_oper handler to disable TDLS link.
We need not do this explicitly here.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Avinash Patil 2014-11-13 21:54:14 +05:30 committed by John W. Linville
parent 9d31c1c763
commit 2848977f92

View file

@ -163,9 +163,6 @@ static int mwifiex_parse_tdls_event(struct mwifiex_private *priv,
NL80211_TDLS_TEARDOWN,
le16_to_cpu(tdls_evt->u.reason_code),
GFP_KERNEL);
ret = mwifiex_tdls_oper(priv, tdls_evt->peer_mac,
MWIFIEX_TDLS_DISABLE_LINK);
queue_work(adapter->workqueue, &adapter->main_work);
break;
default:
break;