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

Avoid handling of WID_MAC_ADDR wid command in deferred approach. 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
drivers/staging/wilc1000/host_interface.h