diff options
| author | HariPrasath Elango <hariprasath.elango@gmail.com> | 2018-03-14 15:45:00 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-19 21:45:31 +0300 |
| commit | 50413119b614209b40d6e234e74d101a80aa8378 (patch) | |
| tree | 299d60b2dc36ce15044a11b4417ba80303564786 | |
| parent | 76c01fdd82fc6f1878741c8a1667f4073269db48 (diff) | |
| download | linux-50413119b614209b40d6e234e74d101a80aa8378.tar.xz | |
staging: wilc1000: Destroy mutex object in deinitialization
Destroy the mutex object that is initialized in wlan_init_locks()
Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/wilc1000/linux_wlan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 1af3c14eab4b..38a83bd31671 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -678,6 +678,7 @@ static int wlan_deinit_locks(struct net_device *dev) mutex_destroy(&wilc->hif_cs); mutex_destroy(&wilc->rxq_cs); + mutex_destroy(&wilc->txq_add_to_head_cs); return 0; } |
