mwl8k: disable softirqs when accessing sta_notify_list
commit04662360854aefcb6337d93701892ad97411fdd0
authorPavel Roskin <proski@gnu.org>
Sun, 14 Feb 2010 03:13:06 +0000 (13 22:13 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 16 Feb 2010 19:16:24 +0000 (16 14:16 -0500)
tree5d3330040a35c5b03bae63fc848d3e79526c7589
parent026331c4d9b526561ea96f95fac4bfc52b69e316
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