mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
12c033dfd9
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37097
14 lines
404 B
Diff
14 lines
404 B
Diff
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
|
|
@@ -1173,6 +1173,10 @@ skip_ws_det:
|
|
* is_on == 0 means MRC CCK is OFF (more noise imm)
|
|
*/
|
|
bool is_on = param ? 1 : 0;
|
|
+
|
|
+ if (ah->caps.rx_chainmask == 1)
|
|
+ break;
|
|
+
|
|
REG_RMW_FIELD(ah, AR_PHY_MRC_CCK_CTRL,
|
|
AR_PHY_MRC_CCK_ENABLE, is_on);
|
|
REG_RMW_FIELD(ah, AR_PHY_MRC_CCK_CTRL,
|