staging: wilc1000: use correct 'struct remain_ch' variable in scan complete
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:03:20 +0000 (18:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:49:45 +0000 (09:49 +0100)
commit530975f3175fc09944a00f55611c5e737c7efbed
tree2ac9e0368d0c92f5567c57a0b41d45f65dd311fc
parent153068b9d1ddd9c9e73f331114e8d574f4f8726f
staging: wilc1000: use correct 'struct remain_ch' variable in scan complete

Use the correct reference to remain_ch variable in scan complete.
Passing 'msg->body.remain_on_ch' to handle_remain_on_chan is not
correct. So used the correct reference used to store roc related
information during the scan.

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