]> bbs.cooldavid.org Git - net-next-2.6.git/commit
rt2x00: Make queue_entry flags access atomic
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 11 Oct 2010 13:38:45 +0000 (15:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:26 +0000 (15:04 -0400)
commita1d1eabc8c42ddf5fd3ea4184094561b3edd127b
tree8e014ed75832f2343bfcfad9f5761b49b7feae14
parent1550c8ef835af17df322045e92541561afa0f017
rt2x00: Make queue_entry flags access atomic

All access to the queue_entry->flags can be done concurrently,
so all flags must use the atomic operators. On most locations
this was already done, so just fix the last few non-atomic
versions.

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