staging: wilc1000: refactor wilc_hif_set_cfg() to avoid deferred handling
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:02:57 +0000 (18:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:49:44 +0000 (09:49 +0100)
commit532391714d5a8b2689ec4fffc7ee391ffba672c8
tree2c8f26c6a9ef93175e941fe5b5ec96cc5fcd9ae1
parent77506d42febd8fffbf460ae6e649469a6437e6fd
staging: wilc1000: refactor wilc_hif_set_cfg() to avoid deferred handling

Avoid handling configuration params wid command in deferred approach.
Instead of posting to workqueue now handle directly from the caller
context. Reduce the size of wid array from 32 to 4 as maximum only 4 wid
used at a time.

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