staging: wilc1000: destroy initialized mutex object

A mutex object that is initialized but not destroyed.This patch destroys
the mutex object

Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
HariPrasath Elango 2018-03-14 18:15:02 +05:30 committed by Greg Kroah-Hartman
parent 3ea60ab5fa
commit 2ebd9ec4ac
1 changed files with 1 additions and 0 deletions

View File

@ -2310,6 +2310,7 @@ int wilc_deinit_host_int(struct net_device *net)
op_ifcs--;
mutex_destroy(&priv->scan_req_lock);
ret = wilc_deinit(vif);
clear_shadow_scan();