aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
diff options
context:
space:
mode:
authorBinoy Jayan <binoy.jayan@linaro.org>2016-06-01 14:56:53 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-21 18:22:31 +0200
commit3044975feddfa0dfa4325610fbd822f473366d8a (patch)
treea60bb0211167d6a65dc2dce819dc6e285d9c8d64 /drivers/staging/rtl8192e/rtl8192e/rtl_core.h
parentrtl8192e: rtllib_device: Replace semaphore wx_sem with mutex (diff)
downloadlinux-dev-3044975feddfa0dfa4325610fbd822f473366d8a.tar.xz
linux-dev-3044975feddfa0dfa4325610fbd822f473366d8a.zip
rtl8192e: r8192_priv: Replace semaphore wx_sem with mutex
The semaphore 'wx_sem' in the r8192_priv 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/rtl8192e/rtl_core.h')
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
index 6921125c9d35..16378e6af894 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.h
@@ -375,7 +375,7 @@ struct r8192_priv {
struct tasklet_struct irq_tx_tasklet;
struct tasklet_struct irq_prepare_beacon_tasklet;
- struct semaphore wx_sem;
+ struct mutex wx_mutex;
struct semaphore rf_sem;
struct mutex mutex;