summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/561-ath9k_antenna_mask_validate.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch b/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch
index 9ad4f57d3..63fce77f1 100644
--- a/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch
+++ b/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch
@@ -6,7 +6,7 @@
+static bool validate_antenna_mask(struct ath_hw *ah, u32 val)
+{
-+ switch (val & ah->caps.rx_chainmask) {
++ switch (val & 0x7) {
+ case 0x1:
+ case 0x3:
+ case 0x7: