From: Rajkumar Manoharan Date: Sat, 27 Aug 2011 05:52:59 +0000 (+0530) Subject: ath9k_hw: Set default slottime as 9us X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e3f2acc76dbae64d1b08455bbbaa855141d0238d;p=openwrt%2Fstaging%2Fblogic.git ath9k_hw: Set default slottime as 9us 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 7bfc8f65a67d..4ba0ee91d43a 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -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; }