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

Avoid handling of WID_CURRENT_CHANNEL wid command in deferred approach.
Instead of posting the wid to work queue now handle directly from the
caller context. Use structure to fill in the firmware specific format.

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