summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192u/r8192U.h
diff options
context:
space:
mode:
authorBinoy Jayan <binoy.jayan@linaro.org>2016-06-02 10:52:59 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-19 02:50:48 (GMT)
commit75deebb42d8a50ea19617eaaee5e8e7792aecf19 (patch)
treeabe66bc6b1f4907985b2c43be01f435bd878c838 /drivers/staging/rtl8192u/r8192U.h
parentec06d48f2443a681ff02d353bd188002d0df18f9 (diff)
downloadlinux-75deebb42d8a50ea19617eaaee5e8e7792aecf19.tar.xz
rtl8192u: r8192_priv: Replace semaphore wx_sem with mutex
The semaphore 'wx_sem' in 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/rtl8192u/r8192U.h')
-rw-r--r--drivers/staging/rtl8192u/r8192U.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192U.h
index eb0c351..65587ac 100644
--- a/drivers/staging/rtl8192u/r8192U.h
+++ b/drivers/staging/rtl8192u/r8192U.h
@@ -879,7 +879,7 @@ typedef struct r8192_priv {
/* If 1, allow bad crc frame, reception in monitor mode */
short crcmon;
- struct semaphore wx_sem;
+ struct mutex wx_mutex;
struct semaphore rf_sem; /* Used to lock rf write operation */
u8 rf_type; /* 0: 1T2R, 1: 2T4R */