]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ath9k: Fix TX status reporting for retries and MCS index
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 15 Dec 2008 13:44:53 +0000 (15:44 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Dec 2008 20:23:23 +0000 (15:23 -0500)
commitda027ca00a48715364da9a94d4b663029add528d
tree513ba51d4c4ad314f5ec2be8f021007f75bad1c8
parent8d6f658e211a3c6ff808f7fc6ebb30239457eabc
ath9k: Fix TX status reporting for retries and MCS index

The count field in struct ieee80211_tx_rate does not include the final
successful attempt, so only report retries here.

Fix the struct ieee80211_tx_rate::idx field when MCS was used. It is
supposed to be the MCS index, not an internal index to the rate
control algorithm table.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/xmit.c