[PATCH 2/4] Do not forget to remove sta in AP mode
Eugene Krasnikov
k.eugene.e at gmail.com
Fri Jul 5 02:45:05 EDT 2013
In AP mode sometimes HW remained misconfigured because of
previous sta was not removed.
Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
---
main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/main.c b/main.c
index e073c01..be094db 100644
--- a/main.c
+++ b/main.c
@@ -711,6 +711,7 @@ static int wcn36xx_sta_remove(struct ieee80211_hw *hw,
vif, sta->addr);
if (vif->type == NL80211_IFTYPE_ADHOC ||
+ vif->type == NL80211_IFTYPE_AP ||
vif->type == NL80211_IFTYPE_MESH_POINT)
wcn36xx_smd_delete_sta(wcn);
--
1.7.11.3
More information about the wcn36xx
mailing list