diff options
author | Binoy Jayan <binoy.jayan@linaro.org> | 2016-06-01 14:56:53 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-21 18:22:31 +0200 |
commit | 3044975feddfa0dfa4325610fbd822f473366d8a (patch) | |
tree | a60bb0211167d6a65dc2dce819dc6e285d9c8d64 /drivers/staging/rtl8192e/rtl8192e/rtl_core.h | |
parent | rtl8192e: rtllib_device: Replace semaphore wx_sem with mutex (diff) | |
download | linux-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.h | 2 |
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; |