OpenCloudOS-Kernel/drivers/staging/wilc1000
Ajay Singh bd4217cb9d staging: wilc1000: avoid mutex unlock without lock in wilc_wlan_handle_txq()
In wilc_wlan_handle_txq(), mutex unlock was called without acquiring
it. Also error code for full VMM condition was incorrect as discussed in
[1]. Now used a proper code to indicate VMM is full, for which transfer
to VMM is required again. 'wilc_wlan_handle_txq()' should be called
again if the VMM space was full earlier or otherwise based on
'txq_event' signal.

1. https://lore.kernel.org/driverdev-devel/20191113183322.a54mh2w6dulklgsd@kili.mountain/

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200123182129.4053-2-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 19:16:12 +01:00
..
Kconfig staging: remove redundant 'default n' from Kconfig 2019-04-16 13:39:01 +02:00
Makefile staging: wilc1000: remove 'wilc_' prefix from filenames 2019-11-05 18:08:52 +01:00
TODO staging: wilc1000: remove TODO item for comments and code style 2018-08-05 16:15:32 +02:00
cfg80211.c staging: wilc1000: remove 'wilc_' prefix from filenames 2019-11-05 18:08:52 +01:00
cfg80211.h staging: wilc1000: added 'WILC_' prefix in header guard macro 2019-11-05 18:08:52 +01:00
fw.h staging: wilc1000: added 'wilc_' prefix for 'struct assoc_resp' name 2020-01-22 09:53:45 +01:00
hif.c staging: wilc1000: added 'wilc_' prefix for 'struct assoc_resp' name 2020-01-22 09:53:45 +01:00
hif.h staging: wilc1000: move firmware API struct's to separate header file 2020-01-22 09:53:45 +01:00
microchip,wilc1000,sdio.txt staging: dt-bindings: wilc1000: add optional rtc_clk property 2019-09-12 10:35:51 +01:00
microchip,wilc1000,spi.txt staging: dt-bindings: wilc1000: add optional rtc_clk property 2019-09-12 10:35:51 +01:00
mon.c staging: wilc1000: added proper spacing for comments 2019-11-05 18:08:53 +01:00
netdev.c staging: wilc1000: avoid mutex unlock without lock in wilc_wlan_handle_txq() 2020-01-23 19:16:12 +01:00
netdev.h staging: wilc1000: move firmware API struct's to separate header file 2020-01-22 09:53:45 +01:00
sdio.c staging: wilc1000: return zero on success and non-zero on function failure 2020-01-23 19:16:12 +01:00
spi.c staging: wilc1000: return zero on success and non-zero on function failure 2020-01-23 19:16:12 +01:00
wlan.c staging: wilc1000: avoid mutex unlock without lock in wilc_wlan_handle_txq() 2020-01-23 19:16:12 +01:00
wlan.h staging: wilc1000: avoid mutex unlock without lock in wilc_wlan_handle_txq() 2020-01-23 19:16:12 +01:00
wlan_cfg.c staging: wilc1000: remove use of infinite loop conditions 2020-01-22 09:53:45 +01:00
wlan_cfg.h staging: wilc1000: remove 'wilc_' prefix from filenames 2019-11-05 18:08:52 +01:00
wlan_if.h staging: wilc1000: move firmware API struct's to separate header file 2020-01-22 09:53:45 +01:00