Ajay Singh 0b7b9b6c3d staging: wilc1000: fix NULL dereference inside wilc_scan()
Added NULL check before accessing 'hidden_net' pointer inside
wilc_scan() to fix the issue found by static code checker.

Fixes: 8f1a0ac1eba7 ("staging: wilc1000: handle scan operation callback from cfg80211 context")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-17 14:24:06 +01:00
..
2018-12-12 11:30:05 +01:00
2018-11-12 14:43:15 -08:00
2018-12-10 09:23:50 +01:00
2018-12-10 09:23:50 +01:00
2018-11-07 13:07:26 +01:00
2018-10-02 15:14:14 -07:00
2018-10-02 15:14:14 -07:00