summaryrefslogtreecommitdiffstats
path: root/net/ieee802154
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2009-09-16 04:24:30 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-09-16 22:21:00 +0200
commit8c6c03fe230c448e5795464a9d73efb796acf3d6 (patch)
tree265424ad98f303ca725a54b9b4bbd2b84ac01d9a /net/ieee802154
parentssb/sdio: fix printk format warnings (diff)
downloadlinux-8c6c03fe230c448e5795464a9d73efb796acf3d6.tar.xz
linux-8c6c03fe230c448e5795464a9d73efb796acf3d6.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/ieee802154')
0 files changed, 0 insertions, 0 deletions