diff options
author | Binoy Jayan <binoy.jayan@linaro.org> | 2016-06-02 16:23:01 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-18 19:50:48 -0700 |
commit | 87d63bcc0f98248be03a1eb8cb3431b7c395bcae (patch) | |
tree | acae1f9110f6202f68fa20ea43539042565d7b6c /drivers/staging/rtl8192u/ieee80211/ieee80211.h | |
parent | e379a9a87952f5b16cbad8f89a8826c4df2fcb31 (diff) | |
download | op-kernel-dev-87d63bcc0f98248be03a1eb8cb3431b7c395bcae.zip op-kernel-dev-87d63bcc0f98248be03a1eb8cb3431b7c395bcae.tar.gz |
rtl8192u: Replace semaphore scan_sem with mutex
The semaphore 'scan_sem' in rtl8192u 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/ieee80211/ieee80211.h')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h index ef9ae22..09e9499 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h @@ -1800,7 +1800,7 @@ struct ieee80211_device { short proto_started; struct mutex wx_mutex; - struct semaphore scan_sem; + struct mutex scan_mutex; spinlock_t mgmt_tx_lock; spinlock_t beacon_lock; |