]> 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)
commitc2871d801774c5dd2910c929f2ead88169e5e9a1
treed51f756175232f3a3e12ea45540cc5259c6665a4
parent4e10a4a2a0d3d6e1478bd912b9a2f86597b17d20
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