From: Johannes Berg Date: Mon, 2 Jun 2008 07:38:04 +0000 (+0200) Subject: mac80211: fix rate control initialisation X-Git-Tag: v2.6.27-rc1~969^2~337^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5854a32e6cb672d182ce378c69f0f7470137a062;p=pandora-kernel.git mac80211: fix rate control initialisation In commit 2e92e6f2c50b4baf85cca968f0e6f1b5c0df7d39 ("mac80211: use rate index in TX control") I forgot to initialise a few new variables to -1 which means that the rate control algorithm is never triggered and 0 is used as the only rate index, effectively fixing the transmit bitrate at the lowest supported. This patch adds the missing initialisation. Signed-off-by: Johannes Berg Bisected-by: Sitsofe Wheeler Signed-off-by: John W. Linville --- Reading git-diff-tree failed