From: Pavel Roskin Date: Wed, 16 Sep 2009 02:24:30 +0000 (-0400) Subject: rc80211_minstrel: fix contention window calculation X-Git-Tag: v2.6.32-rc1~657^2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c6c03fe230c448e5795464a9d73efb796acf3d6;p=pandora-kernel.git 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 Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville --- Reading git-diff-tree failed