add a gpio feature for devices supporting the generic GPIO interface
[openwrt.git] / target / linux / brcm-2.4 / patches / 011-wl_qdisc_war.patch
1 Index: linux-2.4.35.4/net/sched/sch_generic.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/net/sched/sch_generic.c 2007-12-15 05:20:10.816456638 +0100
4 +++ linux-2.4.35.4/net/sched/sch_generic.c 2007-12-15 05:20:16.704792197 +0100
5 @@ -84,6 +84,11 @@
6 struct sk_buff *skb;
7
8 /* Dequeue packet */
9 + if (!q) {
10 + if (net_ratelimit())
11 + printk(KERN_DEBUG "HELP ME! qdisc_restart called, but no Qdisc!\n");
12 + return 0;
13 + }
14 if ((skb = q->dequeue(q)) != NULL) {
15 if (spin_trylock(&dev->xmit_lock)) {
16 /* Remember that the driver is grabbed by us. */
This page took 0.046411 seconds and 5 git commands to generate.