]> git.baikalelectronics.ru Git - kernel.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)
commit5db72f0db8b2f84c6a94ba2b11f1218dfec2dc55
tree8e014ed75832f2343bfcfad9f5761b49b7feae14
parent6bc381c1f870e9d6e52eac6887e365252254727e
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