Message ID | 1268459216-22372-1-git-send-email-lrodriguez@atheros.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 20392cf..9ca9c5a 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c @@ -2147,12 +2147,13 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, } } else { /* Configure AR9271 target WLAN */ - if (AR_SREV_9271(ah)) + if (AR_SREV_9271(ah)) { REG_WRITE(ah, AR_CFG, AR_CFG_SWRB | AR_CFG_SWTB); + } else { #ifdef __BIG_ENDIAN - else REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD); #endif + } } if (ah->btcoex_hw.enabled)