source: branches/backfire/package/mac80211/patches/540-ath9k_rx_stop.patch @ 27865

Last change on this file since 27865 was 27865, checked in by nbd, 5 years ago

mac80211: backport latest changes from trunk

File size: 471 bytes
  • drivers/net/wireless/ath/ath9k/mac.c

    a b bool ath9k_hw_stopdmarecv(struct ath_hw  
    737737 
    738738                if (!AR_SREV_9300_20_OR_LATER(ah)) { 
    739739                        mac_status = REG_READ(ah, AR_DMADBG_7) & 0x7f0; 
    740                         if (mac_status == 0x1c0 && mac_status == last_mac_status) { 
     740                        if (mac_status == last_mac_status && 
     741                            (mac_status == 0x1c0 || 
     742                             (AR_SREV_9100(ah) && mac_status == 0x020))) { 
    741743                                *reset = true; 
    742744                                break; 
    743745                        } 
Note: See TracBrowser for help on using the repository browser.