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)
commit086620978b2d06378f4a41afce2f7705c76a4625
tree57351ca5fd5459ebcf6668375b8f03dc5cd0bf0c
parent589c667d8ae1d7359a974719dd0d09f85aee5606
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