aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2009-09-15 22:24:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-09-23 11:35:42 -0400
commit909a203566a75d26c65370d7dd933fa513d47990 (patch)
treec77fc25740fa2c4061911b9551b3031f51c2c13e /net/wireless
parentssb/sdio: fix printk format warnings (diff)
downloadlinux-dev-909a203566a75d26c65370d7dd933fa513d47990.tar.xz
linux-dev-909a203566a75d26c65370d7dd933fa513d47990.zip
rc80211_minstrel: fix contention window calculation
The contention window is supposed to be a power of two minus one, i.e. 15, 31, 63, 127... minstrel_rate_init() forgets to subtract 1, so the sequence becomes 15, 32, 66, 134... Bug reported by Dan Halperin <dhalperi@cs.washington.edu> Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions