source: trunk/package/mac80211/patches/570-ath9k_bcnslot_leak.patch @ 19233

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

ath9k: fix a beacon buffer leak on interface up/down

File size: 472 bytes
  • drivers/net/wireless/ath/ath9k/main.c

    a b static void ath9k_remove_interface(struc 
    14711471            (sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT)) { 
    14721472                ath9k_ps_wakeup(sc); 
    14731473                ath9k_hw_stoptxdma(sc->sc_ah, sc->beacon.beaconq); 
    1474                 ath_beacon_return(sc, avp); 
    14751474                ath9k_ps_restore(sc); 
    14761475        } 
    14771476 
     1477        ath_beacon_return(sc, avp); 
    14781478        sc->sc_flags &= ~SC_OP_BEACONS; 
    14791479 
    14801480        for (i = 0; i < ARRAY_SIZE(sc->beacon.bslot); i++) { 
Note: See TracBrowser for help on using the repository browser.