staging: wilc1000: add check before performing operation on net_device

Before calling an operation on net_device check if that interface is
available.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ajay Singh 2019-02-05 07:15:48 +00:00 • committed by Greg Kroah-Hartman
commit 20c888becc