1 Index: madwifi-trunk-r3776/ath/if_ath.c
2 ===================================================================
3 --- madwifi-trunk-r3776.orig/ath/if_ath.c 2008-07-17 02:00:09.000000000 +0200
4 +++ madwifi-trunk-r3776/ath/if_ath.c 2008-07-17 02:09:38.000000000 +0200
6 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
7 local_irq_restore(flags);
9 - netif_wake_queue(dev);
12 ath_led_event(sc, ATH_LED_TX);
15 ath_hal_intrset(sc->sc_ah, sc->sc_imask);
16 local_irq_restore(flags);
18 - netif_wake_queue(dev);
21 ath_led_event(sc, ATH_LED_TX);
24 STAILQ_FIRST(&sc->sc_cabq->axq_q) ? "not setup" : "empty");
27 - netif_wake_queue(dev);
29 + if (ath_get_buffers_available(sc) > ATH_TXBUF_MGT_RESERVED)
30 + netif_wake_queue(dev);
33 ath_led_event(sc, ATH_LED_TX);
34 Index: madwifi-trunk-r3776/net80211/ieee80211_input.c
35 ===================================================================
36 --- madwifi-trunk-r3776.orig/net80211/ieee80211_input.c 2008-07-17 02:04:20.000000000 +0200
37 +++ madwifi-trunk-r3776/net80211/ieee80211_input.c 2008-07-17 02:05:45.000000000 +0200
39 (vap->iv_flags & IEEE80211_F_NOBRIDGE) == 0) {
40 struct sk_buff *skb1 = NULL;
42 - if (ETHER_IS_MULTICAST(eh->ether_dhost)) {
43 + if (ETHER_IS_MULTICAST(eh->ether_dhost) && !netif_queue_stopped(dev)) {
44 /* Create a SKB for the BSS to send out. */
45 skb1 = skb_copy(skb, GFP_ATOMIC);