From: Michael Buesch This fixes the qdisc tree locking in wme.c Signed-off-by: Jiri Benc Index: netdev/net/ieee80211/wme.c =================================================================== --- netdev.orig/net/ieee80211/wme.c 2006-01-13 16:44:08.000000000 +0100 +++ netdev/net/ieee80211/wme.c 2006-01-16 16:06:00.000000000 +0100 @@ -671,10 +671,10 @@ void ieee80211_install_qdisc(struct net_ /* same handle as would be allocated by qdisc_alloc_handle() */ qdisc->handle = 0x80010000; - write_lock(&qdisc_tree_lock); + qdisc_lock_tree(dev); list_add_tail(&qdisc->list, &dev->qdisc_list); dev->qdisc_sleeping = qdisc; - write_unlock(&qdisc_tree_lock); + qdisc_unlock_tree(dev); }