rtlwifi: Fix use of mutex in interrupt code
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 18 Dec 2010 01:36:25 +0000 (19:36 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Dec 2010 19:49:48 +0000 (14:49 -0500)
commitd704300fa546a613ec3821b908528b20685cb92a
treef11a738d188c0f0538d385cb205a1149534c6014
parentf0b3e4b7307f02a203029441b0473a84aebc6435
rtlwifi: Fix use of mutex in interrupt code

A previous conversion from semaphoreto mutexes missed the fact that one
of the semaphores was used in interrupt code. Fixed by changing to
a spinlock.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/base.c
drivers/net/wireless/rtlwifi/ps.c
drivers/net/wireless/rtlwifi/wifi.h