rename -brcm-2.4 preinit files to -brcm, as they're shared with brcm47xx
[openwrt-10.03/.git] / package / mac80211 / patches / 570-ath9k_bcnslot_leak.patch
1 --- a/drivers/net/wireless/ath/ath9k/main.c
2 +++ b/drivers/net/wireless/ath/ath9k/main.c
3 @@ -1471,10 +1471,10 @@ static void ath9k_remove_interface(struc
4             (sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT)) {
5                 ath9k_ps_wakeup(sc);
6                 ath9k_hw_stoptxdma(sc->sc_ah, sc->beacon.beaconq);
7 -               ath_beacon_return(sc, avp);
8                 ath9k_ps_restore(sc);
9         }
10  
11 +       ath_beacon_return(sc, avp);
12         sc->sc_flags &= ~SC_OP_BEACONS;
13  
14         for (i = 0; i < ARRAY_SIZE(sc->beacon.bslot); i++) {