mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
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
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user