rt2x00: Simplify intf->delayed_flags locking
authorHelmut Schaa <helmut.schaa@googlemail.com>
Mon, 27 Dec 2010 14:06:57 +0000 (15:06 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Jan 2011 19:35:14 +0000 (14:35 -0500)
commitbfe6a15d60671993eb3d4ac396b1f442ae08581c
treefc7dea9103f7e8644ec310e33d92b486a4ee212c
parentf833eea0a77b0910ea202468175bfc80470d44d0
rt2x00: Simplify intf->delayed_flags locking

Instead of protecting delayed_flags with a spinlock use atomic bitops to
make the code more readable.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00mac.c