mac80211: fix use before check of Qdisc length
commit0da926f05748d273e7b2b673b0de21629ae9acdd
authorRon Rindjunsky <ron.rindjunsky@intel.com>
Wed, 23 Apr 2008 10:45:12 +0000 (23 13:45 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 24 Apr 2008 01:25:35 +0000 (23 21:25 -0400)
treeecc681b81a17a47c7e7958e47853ef4c963cf241
parent13d8fd2d15fdd492078bedb9fde87c901a4e4df0
mac80211: fix use before check of Qdisc length

This patch fixes use of Qdisc length in requeue function, before we checked
the reference is valid. (Adrian Bunk's catch)

Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wme.c