mwifiex: support AP reset after bss_stop
[deliverable/linux.git] / drivers / net / wireless / mwifiex / cfg80211.c
index 3a14d3a0a10ea925d4537c81aa14ca0867048577..d47799ae0d471ef3217db796f7f25f383c087509 100644 (file)
@@ -1725,6 +1725,13 @@ static int mwifiex_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev)
                return -1;
        }
 
+       if (mwifiex_send_cmd(priv, HOST_CMD_APCMD_SYS_RESET,
+                            HostCmd_ACT_GEN_SET, 0, NULL, true)) {
+               mwifiex_dbg(priv->adapter, ERROR,
+                           "Failed to reset BSS\n");
+               return -1;
+       }
+
        return 0;
 }
 
This page took 0.044644 seconds and 5 git commands to generate.