Message ID | 1540327012-8371-1-git-send-email-greearb@candelatech.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Johannes Berg |
Headers | show |
Series | mac80211: Clear beacon_int in ieee80211_do_stop | expand |
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 90a59ce..f699cc84 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -1059,6 +1059,8 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata, if (local->open_count == 0) ieee80211_clear_tx_pending(local); + sdata->vif.bss_conf.beacon_int = 0; + /* * If the interface goes down while suspended, presumably because * the device was unplugged and that happens before our resume,