Skip to content

Commit

Permalink
Staging: wlan-ng: hfa384x_usbin_callback: check for hardware removed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Kennedy authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 87b3df8 commit 8636cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/wlan-ng/hfa384x_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8636cde

Please sign in to comment.