diff options
author | Ben Greear <greearb@candelatech.com> | 2018-10-23 22:36:52 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2018-11-09 08:56:38 +0100 |
commit | 5c21e8100dfd57c806e833ae905e26efbb87840f (patch) | |
tree | dca0283dda7d6e6180bedc10e2a1ef4f4c8a668c /net/wireless/nl80211.c | |
parent | mac80211: fix GFP_KERNEL under tasklet context (diff) | |
download | linux-5c21e8100dfd57c806e833ae905e26efbb87840f.tar.xz linux-5c21e8100dfd57c806e833ae905e26efbb87840f.zip |
mac80211: Clear beacon_int in ieee80211_do_stop
This fixes stale beacon-int values that would keep a netdev
from going up.
To reproduce:
Create two VAP on one radio.
vap1 has beacon-int 100, start it.
vap2 has beacon-int 240, start it (and it will fail
because beacon-int mismatch).
reconfigure vap2 to have beacon-int 100 and start it.
It will fail because the stale beacon-int 240 will be used
in the ifup path and hostapd never gets a chance to set the
new beacon interval.
Cc: stable@vger.kernel.org
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions