mirror of https://github.com/hak5/openwrt.git
ath9k: fix selecting the second antenna on a single-stream device with diversity
SVN-Revision: 32685lede-17.01
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