aboutsummaryrefslogtreecommitdiffstats
path: root/net/rfkill/rfkill-gpio.c
diff options
context:
space:
mode:
authorFelix Fietkau <[email protected]>2011-05-16 21:22:00 +0000
committerJohn W. Linville <[email protected]>2011-05-19 17:53:54 +0000
commitc6820f1e6c8273ca4b8f94c2354193d19e1a5c47 (patch)
tree7f7dbc8c88d7cb31ec280d2c1fc486249ea97aec /net/rfkill/rfkill-gpio.c
parentcfg80211: Use consistent BSS matching between scan and sme (diff)
downloadkernel-c6820f1e6c8273ca4b8f94c2354193d19e1a5c47.tar.gz
kernel-c6820f1e6c8273ca4b8f94c2354193d19e1a5c47.zip
ath9k: fix ad-hoc mode beacon selection
In ad-hoc mode, beacon timers are configured differently compared to AP mode, and (depending on the scenario) can vary enough to make the beacon tasklet not detect slot 0 based on the TSF. Since staggered beacons are not (and cannot be) used in ad-hoc mode, it makes more sense to just hardcode slot 0 here, avoiding unnecessary TSF reads and calculations. Signed-off-by: Felix Fietkau <[email protected]> Reported-by: Rajkumar Manoharan <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/rfkill/rfkill-gpio.c')
0 files changed, 0 insertions, 0 deletions