aboutsummaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorGravatar Johannes Berg <johannes.berg@intel.com> 2015-03-03 22:09:05 +0100
committerGravatar Johannes Berg <johannes.berg@intel.com> 2015-03-04 10:34:15 +0100
commit560676282e19a9cb99378547530aca3d085eb99f (patch)
tree240bbac0ae27320a4634591cf6803464cc2358f8 /net/wireless
parentmesh_plink: fixup type of timeout to match usage (diff)
downloadlinux-560676282e19a9cb99378547530aca3d085eb99f.tar.gz
linux-560676282e19a9cb99378547530aca3d085eb99f.tar.bz2
linux-560676282e19a9cb99378547530aca3d085eb99f.zip
mac80211_hwsim: fix beacon timers
Jouni reported that certain combinations of hwsim test cases failed, and we found that beaconing was erroneously enabled too early on any channel switch, which lead to the BI of 2000 TU from the first test case to leak into the second one, which then didn't beacon properly. To fix this, set data->beacon_int to zero when all stop beaconing so that beaconing cannot be started (which was intended as 'restarted') elsewhere. Additionally, Jouni found that due to this 'restart' and the beacon interval handling station interfaces would also have a needlessly running beacon timer all the time, of course not doing anything. To also fix the latter case only use the beacon interval when it's actually needed, i.e. when beaconing gets enabled. Reported-by: Jouni Malinen <j@w1.fi> Tested-by: Jouni Malinen <j@w1.fi> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions