madwifi: more fixes and cleanups for wds sta separation
[openwrt.git] / package / madwifi / patches / 327-queue.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -8444,8 +8444,6 @@
4 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
5 local_irq_restore(flags);
6
7 - netif_wake_queue(dev);
8 -
9 if (sc->sc_softled)
10 ath_led_event(sc, ATH_LED_TX);
11 }
12 @@ -8492,8 +8490,6 @@
13 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
14 local_irq_restore(flags);
15
16 - netif_wake_queue(dev);
17 -
18 if (sc->sc_softled)
19 ath_led_event(sc, ATH_LED_TX);
20 }
21 @@ -8526,8 +8522,6 @@
22 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
23 local_irq_restore(flags);
24
25 - netif_wake_queue(dev);
26 -
27 if (sc->sc_softled)
28 ath_led_event(sc, ATH_LED_TX);
29 }
30 --- a/net80211/ieee80211_input.c
31 +++ b/net80211/ieee80211_input.c
32 @@ -1132,7 +1132,7 @@
33 (vap->iv_flags & IEEE80211_F_NOBRIDGE) == 0) {
34 struct sk_buff *skb1 = NULL;
35
36 - if (ETHER_IS_MULTICAST(eh->ether_dhost)) {
37 + if (ETHER_IS_MULTICAST(eh->ether_dhost) && !netif_queue_stopped(dev)) {
38 /* Create a SKB for the BSS to send out. */
39 skb1 = skb_copy(skb, GFP_ATOMIC);
40 if (skb1)
This page took 0.043167 seconds and 5 git commands to generate.