ath9k: fix selecting the second antenna on a single-stream device with diversity

SVN-Revision: 32685
lede-17.01
Felix Fietkau 2012-07-12 14:45:59 +00:00
parent c78c2f80a1
commit a1f0b3a771
1 changed files with 1 additions and 1 deletions

View File

@ -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: