Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50413119 authored by HariPrasath Elango's avatar HariPrasath Elango Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: Destroy mutex object in deinitialization



Destroy the mutex object that is initialized in wlan_init_locks()

Signed-off-by: default avatarHariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 76c01fdd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
}