ath9k_hw: Set default slottime as 9us
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Sat, 27 Aug 2011 05:52:59 +0000 (11:22 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Aug 2011 19:33:02 +0000 (15:33 -0400)
Initialize 9us slot time as that is what is used mostly
(for non-ERP cases) and also to be in sync with initvals.

Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c

index 7bfc8f65a67d291952dcbf7076e27d907194cc1c..4ba0ee91d43aa32bccdc6fe7edb60a27aa362c10 100644 (file)
@@ -440,7 +440,7 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah)
        if (AR_SREV_9100(ah))
                ah->sta_id1_defaults |= AR_STA_ID1_AR9100_BA_FIX;
        ah->enable_32kHz_clock = DONT_USE_32KHZ;
-       ah->slottime = 20;
+       ah->slottime = ATH9K_SLOT_TIME_9;
        ah->globaltxtimeout = (u32) -1;
        ah->power_mode = ATH9K_PM_UNDEFINED;
 }