mac80211: deactivate mac80211 tracing
[openwrt.git] / package / madwifi / patches / 327-queue.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -8438,8 +8438,6 @@ process_tx_again:
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 @@ -8486,8 +8484,6 @@ process_tx_again:
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 @@ -8520,8 +8516,6 @@ process_tx_again:
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 @@ ieee80211_deliver_data(struct ieee80211_
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.054136 seconds and 5 git commands to generate.