Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2848977f authored by Avinash Patil's avatar Avinash Patil Committed by John W. Linville
Browse files

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: default avatarAvinash Patil <patila@marvell.com>
Signed-off-by: default avatarCathy Luo <cluo@marvell.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9d31c1c7
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;