mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 18:53:52 +08:00
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:
parent
87b3df81fc
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user