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
1 changed files with 1 additions and 1 deletions

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;