lkml.org 
[lkml]   [2014]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.8 015/166] ath9k: Fix XLNA bias strength
    Date
    3.8.13.16 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Sujith Manoharan <c_manoha@qca.qualcomm.com>

    commit a1783a7b0846fc6414483e6caf646db72023fffd upstream.

    The EEPROM parameter to determine whether the bias
    strength values for XLNA have to be applied is part
    of the miscConfiguration field and not featureEnable.

    Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
    Signed-off-by: Kamal Mostafa <kamal@canonical.com>
    ---
    drivers/net/wireless/ath/ath9k/ar9003_eeprom.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
    index 5fcc943e..cdb1651 100644
    --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
    +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
    @@ -3973,7 +3973,7 @@ static void ar9003_hw_xlna_bias_strength_apply(struct ath_hw *ah, bool is2ghz)
    struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
    u8 bias;

    - if (!(eep->baseEepHeader.featureEnable & 0x40))
    + if (!(eep->baseEepHeader.miscConfiguration & 0x40))
    return;

    if (!AR_SREV_9300(ah))
    --
    1.8.3.2


    \
     
     \ /
      Last update: 2014-01-16 00:21    [W:3.724 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site