ath9k: fix selecting the second antenna on a single-stream device with diversity
SVN-Revision: 32685
This commit is contained in:
parent
c78c2f80a1
commit
a1f0b3a771
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
+static bool validate_antenna_mask(struct ath_hw *ah, u32 val)
|
+static bool validate_antenna_mask(struct ath_hw *ah, u32 val)
|
||||||
+{
|
+{
|
||||||
+ switch (val & ah->caps.rx_chainmask) {
|
+ switch (val & 0x7) {
|
||||||
+ case 0x1:
|
+ case 0x1:
|
||||||
+ case 0x3:
|
+ case 0x3:
|
||||||
+ case 0x7:
|
+ case 0x7:
|
||||||
|
|
Loading…
Reference in a new issue