source: branches/backfire/package/mac80211/patches/525-ath9k_handle_keymiss.patch @ 22153

Last change on this file since 22153 was 22153, checked in by nbd, 6 years ago

[backfire] merge ath9k fixes from r22152

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

    a b int ath9k_hw_rxprocdesc(struct ath_hw *a 
    713713                        rs->rs_status |= ATH9K_RXERR_DECRYPT; 
    714714                else if (ads.ds_rxstatus8 & AR_MichaelErr) 
    715715                        rs->rs_status |= ATH9K_RXERR_MIC; 
     716                else if (ads.ds_rxstatus8 & AR_KeyMiss) 
     717                        rs->rs_status |= ATH9K_RXERR_DECRYPT; 
    716718        } 
    717719 
    718720        return 0; 
  • drivers/net/wireless/ath/ath9k/ar9003_mac.c

    a b int ath9k_hw_process_rxdesc_edma(struct  
    589589                        rxs->rs_status |= ATH9K_RXERR_DECRYPT; 
    590590                } else if (rxsp->status11 & AR_MichaelErr) { 
    591591                        rxs->rs_status |= ATH9K_RXERR_MIC; 
    592                 } 
     592                } else if (rxsp->status11 & AR_KeyMiss) 
     593                        rxs->rs_status |= ATH9K_RXERR_DECRYPT; 
    593594        } 
    594595 
    595596        return 0; 
Note: See TracBrowser for help on using the repository browser.