]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: use mutex instead of struct semaphore hSemScanReq
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 28 Mar 2016 04:56:00 +0000 (13:56 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Mar 2016 19:39:52 +0000 (12:39 -0700)
commit7316b7b9a48e2917590e48a1c375cc16f57871e3
tree57351ca5fd5459ebcf6668375b8f03dc5cd0bf0c
parent7ff868ae6b77b27475823ffb83d117fe6dd4c76e
staging: wilc1000: use mutex instead of struct semaphore hSemScanReq

This patch replaces struct semaphore hSemScanReq with struct mutex
scan_req_lock. It is better to use mutex than semaphore.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h