Commit 8636cded authored by Richard Kennedy's avatar Richard Kennedy Committed by Greg Kroah-Hartman

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 87b3df81
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment