]> git.baikalelectronics.ru Git - kernel.git/commit
mwl8k: disable softirqs when accessing sta_notify_list
authorPavel Roskin <proski@gnu.org>
Sun, 14 Feb 2010 03:13:06 +0000 (22:13 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Feb 2010 19:16:24 +0000 (14:16 -0500)
commit1c857cf79e288bee318704cc99e0e676d01cc792
tree5d3330040a35c5b03bae63fc848d3e79526c7589
parentd2feafb86fcaf9ecf8335b7226d5bacd6ca2c34c
mwl8k: disable softirqs when accessing sta_notify_list

Use spin_[un]lock_bh in mwl8k_sta_notify().  The sta_notify handler is
required to be atomic, yet it can be called in process context, so make
sure one call won't preempt another.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c