2
0
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:
Richard Kennedy 2008-11-03 11:22:43 +00:00 committed by Greg Kroah-Hartman
parent 87b3df81fc
commit 8636cdedc5

View File

@ -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;