X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ae2566d99ca3e1cd82660434ba5078eaa9ec2cd9..5bc450051be79bfae37ad1f185c4d2fb315d7fd7:/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch diff --git a/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch b/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch index 8c8b56bcd..ef4c21f77 100644 --- a/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch +++ b/target/linux/generic-2.6/patches-2.6.27/200-sched_esfq.patch @@ -678,7 +678,7 @@ + struct esfq_sched_data *q = qdisc_priv(sch); + int err; + -+ q->quantum = psched_mtu(sch->dev); /* default */ ++ q->quantum = psched_mtu(qdisc_dev(sch)); /* default */ + if ((err = esfq_q_init(q, opt))) + return err; + @@ -702,7 +702,7 @@ + + /* set up new queue */ + memset(&new, 0, sizeof(struct esfq_sched_data)); -+ new.quantum = psched_mtu(sch->dev); /* default */ ++ new.quantum = psched_mtu(qdisc_dev(sch)); /* default */ + if ((err = esfq_q_init(&new, opt))) + return err; +