X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fmac80211%2Fwme.c;h=5d09e8698b57584cb66bbc83e96295955c68c360;hb=361833efac4d277d209008e1e0658e597bc1bdef;hp=635b996c8c350c52c5f9cef6747c3408e3e40711;hpb=d83b14c0db5b238975990c0abda51521120106e9;p=linux-2.6 diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 635b996c8c..5d09e8698b 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -323,8 +323,7 @@ static void wme_qdiscop_destroy(struct Qdisc* qd) struct ieee80211_hw *hw = &local->hw; int queue; - tcf_destroy_chain(q->filter_list); - q->filter_list = NULL; + tcf_destroy_chain(&q->filter_list); for (queue=0; queue < hw->queues; queue++) { skb_queue_purge(&q->requeued[queue]);