From f5ba758ab334a953a86cee572fc32a8953c92975 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 12 Jul 2012 14:45:59 +0000 Subject: 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 --- package/mac80211/patches/561-ath9k_antenna_mask_validate.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/mac80211/patches') diff --git a/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch b/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch index 9ad4f57d3..63fce77f1 100644 --- a/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch +++ b/package/mac80211/patches/561-ath9k_antenna_mask_validate.patch @@ -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: -- cgit v1.2.3