Skip to content

Commit

Permalink
ath9k: fix selecting the second antenna on a single-stream device wit…
Browse files Browse the repository at this point in the history
…h diversity

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32685 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
nbd committed Jul 12, 2012
1 parent ae5ca58 commit f5ba758
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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:
Expand Down

0 comments on commit f5ba758

Please sign in to comment.