madwifi: refresh patches
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 327-queue.patch
1 Index: madwifi-trunk-r3314/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/ath/if_ath.c
4 +++ madwifi-trunk-r3314/ath/if_ath.c
5 @@ -8431,8 +8431,6 @@
6 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
7 local_irq_restore(flags);
8
9 - netif_wake_queue(dev);
10 -
11 if (sc->sc_softled)
12 ath_led_event(sc, ATH_LED_TX);
13 }
14 @@ -8479,8 +8477,6 @@
15 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
16 local_irq_restore(flags);
17
18 - netif_wake_queue(dev);
19 -
20 if (sc->sc_softled)
21 ath_led_event(sc, ATH_LED_TX);
22 }
23 @@ -8513,8 +8509,6 @@
24 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
25 local_irq_restore(flags);
26
27 - netif_wake_queue(dev);
28 -
29 if (sc->sc_softled)
30 ath_led_event(sc, ATH_LED_TX);
31 }
32 Index: madwifi-trunk-r3314/net80211/ieee80211_input.c
33 ===================================================================
34 --- madwifi-trunk-r3314.orig/net80211/ieee80211_input.c
35 +++ madwifi-trunk-r3314/net80211/ieee80211_input.c
36 @@ -1132,7 +1132,7 @@
37 (vap->iv_flags & IEEE80211_F_NOBRIDGE) == 0) {
38 struct sk_buff *skb1 = NULL;
39
40 - if (ETHER_IS_MULTICAST(eh->ether_dhost)) {
41 + if (ETHER_IS_MULTICAST(eh->ether_dhost) && !netif_queue_stopped(dev)) {
42 /* Create a SKB for the BSS to send out. */
43 skb1 = skb_copy(skb, GFP_ATOMIC);
44 if (skb1)