]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: refactor wilc_set_wfi_drv_handler() to avoid deferred handling
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:03:05 +0000 (18:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:49:45 +0000 (09:49 +0100)
commit6602ef83c1dfabb8947922769bb1306e9315f74b
tree9ae06095812fc33fb3ddf58f480b7c996b725533
parentcdc0928c0c104b58791eb249dcb0f2f3251f4ba4
staging: wilc1000: refactor wilc_set_wfi_drv_handler() to avoid deferred handling

Avoid handling of WID_SET_DRV_HANDLER wid command in deferred approach.
Instead of posting the wid to work queue now handle directly from the
caller context. Remove 'is_sync' parameter from the API as it's not
required anymore.

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
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c