kernel: fix wrong line for the +@DRIVER_WEXT_SUPPORT dependency in kmod-net-zd1201
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 554-ath9k-enable-TX-RX-data-byte-swap-for-AR9330.patch
1 --- a/drivers/net/wireless/ath/ath9k/hw.c
2 +++ b/drivers/net/wireless/ath/ath9k/hw.c
3 @@ -1602,7 +1602,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st
4 REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD);
5 }
6 #ifdef __BIG_ENDIAN
7 - else if (AR_SREV_9340(ah))
8 + else if (AR_SREV_9330(ah) || AR_SREV_9340(ah))
9 REG_RMW(ah, AR_CFG, AR_CFG_SWRB | AR_CFG_SWTB, 0);
10 else
11 REG_WRITE(ah, AR_CFG, AR_CFG_SWTD | AR_CFG_SWRD);