lkml.org 
[lkml]   [2010]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH]wireless:ath9k Fix ath_print in xmit.c
    Date
    ath_print in xmit.c should say "Reseting hardware"
    instead of Reaseting HAL!(since HAL is being fazed out).
    dmesg shows:
    [ 8660.899624] ath: Failed to stop TX DMA in 100 msec after killing last frame
    [ 8660.899676] ath: Unable to stop TxDMA. Reset HAL!


    Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>

    ---
    drivers/net/wireless/ath/ath9k/xmit.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
    index 3db1917..2a0558e 100644
    --- a/drivers/net/wireless/ath/ath9k/xmit.c
    +++ b/drivers/net/wireless/ath/ath9k/xmit.c
    @@ -1198,7 +1198,7 @@ void ath_drain_all_txq(struct ath_softc *sc, bool retry_tx)
    int r;

    ath_print(common, ATH_DBG_FATAL,
    - "Unable to stop TxDMA. Reset HAL!\n");
    + "Unable to stop TxDMA. Reseting hardware!\n");

    spin_lock_bh(&sc->sc_resetlock);
    r = ath9k_hw_reset(ah, sc->sc_ah->curchan, false);
    --
    1.6.5.GIT


    \
     
     \ /
      Last update: 2010-05-26 18:51    [W:0.021 / U:242.532 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site