~ubuntu-branches/ubuntu/quantal/linux-backports-modules-3.5.0/quantal-updates

« back to all changes in this revision

Viewing changes to updates/cw-3.6/linux-next-cherry-picks/0074-ath9k_hw-Enable-WLAN-RX-diversity-for-AR9565.patch

  • Committer: Package Import Robot
  • Author(s): Leann Ogasawara
  • Date: 2012-10-10 22:28:55 UTC
  • Revision ID: package-import@ubuntu.com-20121010222855-qepocc61xktv6gs9
Tags: 3.5.0-17.1
* Open Quantal LBM
* Add compat-wireless 3.6
  -LP: #1066123

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 06236e53ce83d9f770a25a5305b8651544ff8b67 Mon Sep 17 00:00:00 2001
 
2
From: Sujith Manoharan <c_manoha@qualcomm.com>
 
3
Date: Sun, 16 Sep 2012 08:07:12 +0530
 
4
Subject: [PATCH] ath9k_hw: Enable WLAN RX diversity for AR9565
 
5
 
 
6
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
 
7
Signed-off-by: John W. Linville <linville@tuxdriver.com>
 
8
---
 
9
 drivers/net/wireless/ath/ath9k/hw.c | 2 +-
 
10
 1 file changed, 1 insertion(+), 1 deletion(-)
 
11
 
 
12
--- a/drivers/net/wireless/ath/ath9k/hw.c
 
13
+++ b/drivers/net/wireless/ath/ath9k/hw.c
 
14
@@ -2539,7 +2539,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw
 
15
        }
 
16
 
 
17
 
 
18
-       if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) {
 
19
+       if (AR_SREV_9330(ah) || AR_SREV_9485(ah) || AR_SREV_9565(ah)) {
 
20
                ant_div_ctl1 = ah->eep_ops->get_eeprom(ah, EEP_ANT_DIV_CTL1);
 
21
                /*
 
22
                 * enable the diversity-combining algorithm only when