ath9k_hw: avoid setting cwmin/cwmax to 0 for IBSS for AR9003
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Tue, 15 Jun 2010 00:17:36 +0000 (20:17 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 Jun 2010 20:02:22 +0000 (16:02 -0400)
commit9a2af8892a74573cec4bea2149843a93442a12de
treea832612ca0c1f4f8c91a8ae41e1a425acd1283dd
parente4a0ab3487d847ce8044a2d49f82391ea7d6489e
ath9k_hw: avoid setting cwmin/cwmax to 0 for IBSS for AR9003

IBSS requires the cwmin and cwmax to be respected when
we reset the txqueues on AR9003 otherwise the distribution
of beacons will be balanced towards the AR9003 card first
preventing equal contention for air time for other peers
on the IBSS.

Without this IBSS will work but only the AR9003 card will be
be issuing beacons on the IBSS.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mac.c