提交 e853c93b 编写于 作者: V Vladimir Kondratiev 提交者: Kalle Valo

wil6210: stop_ap to leave interface closed

cfg80211_ops.stop_ap supposed to have interface carried turned off as
post condition. Fulfill this requirement.
Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
上级 de9084ef
...@@ -822,13 +822,9 @@ static int wil_cfg80211_stop_ap(struct wiphy *wiphy, ...@@ -822,13 +822,9 @@ static int wil_cfg80211_stop_ap(struct wiphy *wiphy,
wmi_pcp_stop(wil); wmi_pcp_stop(wil);
__wil_down(wil); __wil_down(wil);
__wil_up(wil);
mutex_unlock(&wil->mutex); mutex_unlock(&wil->mutex);
/* some functions above might fail (e.g. __wil_up). Nevertheless, we
* return success because AP has stopped
*/
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册