1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:01:52 +02:00

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32685 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-07-12 14:45:59 +00:00
parent ae5ca58852
commit f5ba758ab3

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: