Staging: wlan-ng: hfa384x_usbin_callback: check for hardware removed
hfa384x_usbin_callback: check for hardware removed copied from latest wlan-ng-devel version Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
87b3df81fc
Коммит
8636cdedc5
|
@ -3604,7 +3604,7 @@ static void hfa384x_usbin_callback(struct urb *urb)
|
|||
|
||||
if ( !wlandev ||
|
||||
!wlandev->netdev ||
|
||||
!netif_device_present(wlandev->netdev) )
|
||||
wlandev->hwremoved )
|
||||
goto exit;
|
||||
|
||||
hw = wlandev->priv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче