|
@@ -906,6 +906,8 @@ static int mwifiex_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev)
|
|
|
if (mwifiex_del_mgmt_ies(priv))
|
|
|
wiphy_err(wiphy, "Failed to delete mgmt IEs!\n");
|
|
|
|
|
|
+ priv->ap_11n_enabled = 0;
|
|
|
+
|
|
|
if (mwifiex_send_cmd_sync(priv, HostCmd_CMD_UAP_BSS_STOP,
|
|
|
HostCmd_ACT_GEN_SET, 0, NULL)) {
|
|
|
wiphy_err(wiphy, "Failed to stop the BSS\n");
|