diff options
author | Binoy Jayan <binoy.jayan@linaro.org> | 2016-06-01 14:56:56 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-21 18:22:31 +0200 |
commit | 38bee763bd6d1f77ca3d10639e9bb3f1a1a53443 (patch) | |
tree | e380629819ff79f2865a693cd7828fa7d03724a3 /drivers/staging/rtl8192e/rtllib.h | |
parent | be10ceea4f0920975df35c23d50f8eed157ef72b (diff) |
rtl8192e: Replace semaphore ips_sem with mutex
The semaphore 'ips_sem' in the rtl8192e is a simple mutex, so it should
be written as one. Semaphores are going away in the future.
Signed-off-by: Binoy Jayan <binoy.jayan@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib.h')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 5bdc378aabc2..38247fad76f8 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -30,7 +30,6 @@ #include <linux/jiffies.h> #include <linux/timer.h> #include <linux/sched.h> -#include <linux/semaphore.h> #include <linux/mutex.h> #include <linux/delay.h> @@ -1654,7 +1653,7 @@ struct rtllib_device { struct mutex wx_mutex; struct mutex scan_mutex; - struct semaphore ips_sem; + struct mutex ips_mutex; spinlock_t mgmt_tx_lock; spinlock_t beacon_lock; |