ath9k: Fix rate control update for aggregated frames
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Wed, 18 Mar 2009 14:52:00 +0000 (20:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:01 +0000 (20:13 -0400)
commit0934af2340caf3c9f247ae650bf0c6faa4203dba
tree03992c5c27f067ed21d6136339f9ce39cf7ef5c0
parentb3a902850a8f5bc11a660051faae707f928d4bd6
ath9k: Fix rate control update for aggregated frames

We will miss rate control update if first A-MPDU of an
aggregation is not Block Acked as we always tell if the
rate control needs to updated through update_rc of first
A-MPDU. This patch does rate control update for the first
A-MPDU which notifies it's tx status (which is not
necessarily the first A-MPDU of an aggregation) to mac80211.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/xmit.c