diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2010-12-16 11:13:57 -0600 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-16 15:22:32 -0500 |
commit | 8a09d6d80c90c02f2f8c89f69c702cab0c8d9b42 (patch) | |
tree | 09c1439790d4eaa463a265aabee89845013d31f0 /drivers/net/wireless/rtlwifi/wifi.h | |
parent | 3cf0c8ad94ba1ba241b970cd19c11a4f3cea93c2 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
-rw-r--r-- | drivers/net/wireless/rtlwifi/wifi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h index 3844dc94bdb..77d5fa370bd 100644 --- a/drivers/net/wireless/rtlwifi/wifi.h +++ b/drivers/net/wireless/rtlwifi/wifi.h @@ -1193,8 +1193,8 @@ struct rtl_hal_cfg { 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; |