提交 8636cded 编写于 作者: R Richard Kennedy 提交者: 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: NRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册