]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: do not call rate control .tx_status before .rate_init
authorFelix Fietkau <nbd@openwrt.org>
Wed, 8 Feb 2012 18:17:11 +0000 (19:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Feb 2012 21:07:31 +0000 (16:07 -0500)
commit26f6638f29c0ffdeec1524566ed5eee6c835b754
treecebba13955a1702bf73ffa29a648b01a5942bcfa
parent3fbde0835e4dfa2510ad1c178e53c79bb09bdcb7
mac80211: do not call rate control .tx_status before .rate_init

Most rate control implementations assume .get_rate and .tx_status are only
called once the per-station data has been fully initialized.
minstrel_ht crashes if this assumption is violated.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Tested-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rate.h