]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: add check before performing operation on net_device
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 5 Feb 2019 07:15:48 +0000 (07:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Feb 2019 12:31:20 +0000 (13:31 +0100)
commit2a52a697b17f122a027d868174c935ed2f3961df
treefe88e65fc8a0faa3a2b2c3ed8ab47978beda80d0
parentfa1c9ff9e26395a790b593d048f683ae50ec2e6a
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>
drivers/staging/wilc1000/linux_wlan.c