]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix rate control initialisation
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 2 Jun 2008 07:38:04 +0000 (09:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:28 +0000 (15:00 -0400)
commit5854a32e6cb672d182ce378c69f0f7470137a062
tree9ced95720723b428655c687c5fbdda061b5d1d75
parent7fd871edf437362b62ddd807542638cbda8d8a39
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 <johannes@sipsolutions.net>
Bisected-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c