madwifi: add support for drop-in hal replacements
[openwrt.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 2008-02-20 21:58:58.545495909 +0100
4 +++ madwifi-trunk-r3314/ath/if_ath.c 2008-02-20 21:59:01.609670527 +0100
5 @@ -8423,8 +8423,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 @@ -8471,8 +8469,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 @@ -8505,8 +8501,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 2008-02-20 21:58:57.425432087 +0100
35 +++ madwifi-trunk-r3314/net80211/ieee80211_input.c 2008-02-20 21:59:01.613670756 +0100
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)
This page took 0.049191 seconds and 5 git commands to generate.