diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-05-15 12:52:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 09:26:04 +0200 |
commit | fea69916360468e364a4988db25a5afa835f3406 (patch) | |
tree | 67119b77af072c67fda05481f4186a7f1d50d5c3 /drivers/staging/kpc2000/Kconfig | |
parent | ca641bae6da977d638458e78cd1487b6160a2718 (diff) | |
download | linux-stable-fea69916360468e364a4988db25a5afa835f3406.tar.gz linux-stable-fea69916360468e364a4988db25a5afa835f3406.tar.bz2 linux-stable-fea69916360468e364a4988db25a5afa835f3406.zip |
staging: wilc1000: Fix some double unlock bugs in wilc_wlan_cleanup()
If ->hif_read_reg() or ->hif_write_reg() fail then the code unlocks
and keeps executing. It should just return.
Fixes: c5c77ba18ea6 ("staging: wilc1000: Add SDIO/SPI 802.11 driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/kpc2000/Kconfig')
0 files changed, 0 insertions, 0 deletions