staging: wilc1000: flush the workqueue before deinit the host
authorAdham Abozaeid <adham.abozaeid@microchip.com>
Mon, 22 Jul 2019 21:38:44 +0000 (21:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2019 07:38:15 +0000 (09:38 +0200)
commitfb2b055b7e6e44efda737c7c92f46c0868bb04e5
tree8a08570353f3662ed349be62e2a71c3f6b4766d7
parent66665bb9979246729562a09fcdbb101c83127989
staging: wilc1000: flush the workqueue before deinit the host

Before deinitializing the host interface, the workqueue should be flushed
to handle any pending deferred work

Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20190722213837.21952-1-adham.abozaeid@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c