rt2x00: Fix txdone_entry_desc_flags
authorJochen Friedrich <jochen@scram.de>
Fri, 15 Aug 2008 12:47:46 +0000 (14:47 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Aug 2008 15:05:15 +0000 (11:05 -0400)
commitf126cba427170eac9e37311b2ab7afc0e2261906
tree7742b3de27e45aeed0d9e340af593bd374c8a8a2
parent430cd47fa98178b5199105fab4fb74e04bd0635c
rt2x00: Fix txdone_entry_desc_flags

txdone_entry_desc_flags is used with __set_bit and test_bit which
bit-shift the values, so don't bit-shift the flags in the enum.
Also make sure flags are initialized before being used.

Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00queue.h
drivers/net/wireless/rt2x00/rt2x00usb.c