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

Commit d26153e7 authored by Vladimir Kondratiev's avatar Vladimir Kondratiev Committed by Ian Maund
Browse files

wil6210: stop_ap to leave interface closed



cfg80211_ops.stop_ap supposed to have interface carried turned off as
post condition. Fulfill this requirement.

Change-Id: I90e0f51b15576925c825c78ffe69e2254144872b
Signed-off-by: default avatarVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
Git-commit: e853c93bd8e2d92c6586ceed15542c21c8766d54
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git


Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 1ad0df86
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -822,13 +822,9 @@ static int wil_cfg80211_stop_ap(struct wiphy *wiphy,
	wmi_pcp_stop(wil);

	__wil_down(wil);
	__wil_up(wil);

	mutex_unlock(&wil->mutex);

	/* some functions above might fail (e.g. __wil_up). Nevertheless, we
	 * return success because AP has stopped
	 */
	return 0;
}