staging: wilc1000: refactor wilc_get_inactive_time() to avoid deferred handling
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:03:08 +0000 (18:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:49:45 +0000 (09:49 +0100)
commit98651ca0a1ed4c3fccc7ecc30c76aba5978c822e
tree2d8efeae7cde7f3fb68f5d3021d2ca793386c8a2
parent04a61fbc409cd7d1dfd339162e05f5b3b2cb087a
staging: wilc1000: refactor wilc_get_inactive_time() to avoid deferred handling

Avoid handling of inactive time related wid command in deferred manner.
Instead of posting the wid to workqueue now handle directly from the
caller context.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c