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~27^2~11^2~36 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=909a203566a75d26c65370d7dd933fa513d47990;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