d80211: fix wme.c breakage This fixes wme.c, which was broken by a recent qdisc api change.
Signed-off-by: Michael Wu <[EMAIL PROTECTED]>
---
net/d80211/wme.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/net/d80211/wme.c b/net/d80211/wme.c
index b9505dc..bffdce9 100644
--- a/net/d80211/wme.c
+++ b/net/d80211/wme.c
@@ -432,7 +432,8 @@ static int wme_qdiscop_init(struct Qdisc
/* create child queues */
for (i = 0; i < queues; i++) {
skb_queue_head_init(&q->requeued[i]);
- q->queues[i] = qdisc_create_dflt(qd->dev, &CHILD_QDISC_OPS);
+ q->queues[i] = qdisc_create_dflt(qd->dev, &CHILD_QDISC_OPS,
+ qd->handle);
if (q->queues[i] == 0) {
q->queues[i] = &noop_qdisc;
printk(KERN_ERR "%s child qdisc %i creation failed",
dev->name, i);
@@ -658,7 +659,7 @@ void ieee80211_install_qdisc(struct net_
{
struct Qdisc *qdisc;
- qdisc = qdisc_create_dflt(dev, &wme_qdisc_ops);
+ qdisc = qdisc_create_dflt(dev, &wme_qdisc_ops, TC_H_ROOT);
if (!qdisc) {
printk(KERN_ERR "%s: qdisc installation failed\n", dev->name);
return;
pgppL7NfGAwkQ.pgp
Description: PGP signature
