rtlwifi: Switch locking from semaphores to mutexes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h
index 3844dc9..77d5fa3 100644
--- a/drivers/net/wireless/rtlwifi/wifi.h
+++ b/drivers/net/wireless/rtlwifi/wifi.h
@@ -1193,8 +1193,8 @@
struct rtl_locks {
/*sem */
- struct semaphore ips_sem;
- struct semaphore conf_sem;
+ struct mutex ips_mutex;
+ struct mutex conf_mutex;
/*spin lock */
spinlock_t irq_th_lock;