projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9084e
)
wil6210: stop_ap to leave interface closed
author
Vladimir Kondratiev
<
[email protected]
>
Mon, 30 Mar 2015 08:28:53 +0000
(11:28 +0300)
committer
Kalle Valo
<
[email protected]
>
Tue, 28 Apr 2015 17:00:13 +0000
(20:00 +0300)
cfg80211_ops.stop_ap supposed to have interface carried turned off as
post condition. Fulfill this requirement.
Signed-off-by: Vladimir Kondratiev <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/wil6210/cfg80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/wil6210/cfg80211.c
b/drivers/net/wireless/ath/wil6210/cfg80211.c
index 37d5338ecfc768d1f2b14a93687a9757fc29afe1..ea331e407e7fb33ca6a104085c7504336aa3827c 100644
(file)
--- a/
drivers/net/wireless/ath/wil6210/cfg80211.c
+++ b/
drivers/net/wireless/ath/wil6210/cfg80211.c
@@
-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;
}