Pavel Roskin 8c6c03fe23 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>
2009-09-16 16:21:00 -04:00
..
2009-07-24 15:05:30 -04:00
2007-05-05 11:46:38 -07:00
2009-07-10 15:01:49 -04:00
2009-04-22 16:57:17 -04:00
2009-07-10 15:01:48 -04:00
2008-04-08 16:44:45 -04:00
2008-04-08 16:44:45 -04:00
2009-08-28 14:40:34 -04:00
2009-07-24 15:05:30 -04:00
2009-08-28 14:40:41 -04:00
2009-08-28 14:40:45 -04:00
2009-05-20 14:46:25 -04:00
2009-05-06 15:14:37 -04:00
2009-09-01 01:14:04 -07:00
2009-07-24 15:05:09 -04:00
2009-07-24 15:05:09 -04:00
2009-07-24 15:05:30 -04:00
2009-07-24 15:05:30 -04:00
2009-07-10 15:01:49 -04:00