pull madwifi forward to the latest upstream version - should fix some dual radio...
[openwrt-10.03/.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-01-31 03:39:02.140426675 +0100
4 +++ madwifi-trunk-r3314/ath/if_ath.c    2008-01-31 03:39:41.360481823 +0100
5 @@ -8357,8 +8357,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 @@ -8405,8 +8403,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 @@ -8439,8 +8435,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-01-31 03:38:55.116026377 +0100
35 +++ madwifi-trunk-r3314/net80211/ieee80211_input.c      2008-01-31 03:39:41.364480053 +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)