mac80211: fix rate control initialisation
In commit 2e92e6f2 ("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: NJohannes Berg <johannes@sipsolutions.net> Bisected-by: NSitsofe Wheeler <sitsofe@yahoo.com> Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
Showing
想要评论请 注册 或 登录