]> err.no Git - linux-2.6/commit
rt2x00: Use atomic interface iteration in irq context
authorIvo van Doorn <ivdoorn@gmail.com>
Fri, 23 May 2008 16:14:02 +0000 (18:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 May 2008 20:43:45 +0000 (16:43 -0400)
commit633257d3db547e7553500f05e0aa2692c876d7a5
tree8c70d9d4cef50523eb3439d72a23e8242ae8a130
parentf06a0f486dc8bbe8808f46b81fbfd73241529fae
rt2x00: Use atomic interface iteration in irq context

rt2x00lib_beacondone() is called from interrupt context,
this means we cannot use the mac80211 interface iterator
that uses the rtnl lock (since that uses a mutex which can sleep).
Instead we should use the atomic mac80211 interface iterator.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00dev.c