]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: use mutex lock to synchronized sending 'wid' cmd to firmware
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:02:25 +0000 (18:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:48:45 +0000 (09:48 +0100)
commit0ad394c89a8dd4cd46eeedf8394957487b8cd6b2
treef30c618940139e15f158eb0d8ff34397755887b1
parent3368420ef93cfad588f0b989584e074469134ed8
staging: wilc1000: use mutex lock to synchronized sending 'wid' cmd to firmware

Use mutex lock to protect the issuing of wid cmd to the firmware.
Currently the wid commands are synchronized by use of hif_workqueue work
queue.
Now, these changes are required to synchronize the access to wid
command, so the commands can be issued directly from cfg80211 context
and 'WILC_wq' thread.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h
drivers/staging/wilc1000/wilc_wlan.c