rt2x00: Sequence counter should be protected in irqsave
authorIvo van Doorn <ivdoorn@gmail.com>
Mon, 28 Jul 2008 08:21:16 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Aug 2008 19:31:34 +0000 (15:31 -0400)
commitd4764b29b6e0f1608e397930677928e5a3f62bba
tree4cea20166052d0aa0af2325861d1c6bb3d65f215
parent8d8acd46fb7e962ac04baef5a118d431fae6b0f6
rt2x00: Sequence counter should be protected in irqsave

The sequence counter can be accessed in IRQ context,
which means the lock protecting the counter should
be irqsave. To prevent making the entire intf->lock irqsave
without reason, create a new lock which only protects
the sequence counter.

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/rt2x00mac.c
drivers/net/wireless/rt2x00/rt2x00queue.c