diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2008-11-03 11:22:43 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:00 -0800 |
commit | 8636cdedc5be050fd83afa3b3681a0889d9058a9 (patch) | |
tree | 3a866e2f9eebf01c3110b3379f2fdb489dce575c | |
parent | 87b3df81fcee640952bd7c038b33488af4ee2bc7 (diff) |
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>
-rw-r--r-- | drivers/staging/wlan-ng/hfa384x_usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index a26609bdc4a..8a75b50f863 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/drivers/staging/wlan-ng/hfa384x_usb.c @@ -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; |