diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2010-08-01 15:47:32 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-04 21:27:38 +0200 |
commit | 754018494216e07f43c611d342d7d8bd25b22140 (patch) | |
tree | c8918b551fe0a793a3f98ae54415f45f9062e831 /arch/m68knommu/mm | |
parent | ath9k_hw: Fix regulatory CTL index usage for AR9003 (diff) | |
download | linux-754018494216e07f43c611d342d7d8bd25b22140.tar.xz linux-754018494216e07f43c611d342d7d8bd25b22140.zip |
ath9k: fix an issue in ath_atx_tid paused flag management
I noticed a possible issue in the paused flag management of the
ath_atx_tid data structure. In particular, in a noisy environment and
under heavy load, I observed that the AGGR session establishment could
fail several times consecutively causing values of the paused flag
greater than one for this TID (ath_tx_pause_tid is called more than
once from ath_tx_aggr_start).
Considering that the session for this TID can not be established also
after the mac80211 stack calls the ieee80211_agg_tx_operational() since
the ath_tx_aggr_resume() lowers the paused flag only by one.
This patch also replaces some BUG_ON calls with WARN_ON, as even if
these unlikely conditions happen, it's not fatal enough to justify a
BUG_ON.
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/m68knommu/mm')
0 files changed, 0 insertions, 0 deletions