]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: assign scan result callback before starting the scan
authorAdham Abozaeid <adham.abozaeid@microchip.com>
Wed, 27 Mar 2019 20:28:34 +0000 (20:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Mar 2019 16:10:18 +0000 (17:10 +0100)
commit575164f9a4851449d0041e094887fd2ce155fefd
treed51f756175232f3a3e12ea45540cc5259c6665a4
parent642a283b166d94ade04344b1d361ef9ce1482527
staging: wilc1000: assign scan result callback before starting the scan

When scan is triggered, sometimes scan results are received before the scan
result callback is assigned, causing the recieved results to be ignored.

Signed-off-by: Adham Abozaeid <adham.abozaeid@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c