[PATCH] libertas: fixed kernel oops on module/card removal

Fixed kernel oops on module/card removal (using dongles)

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Luis Carlos Cobo 2007-05-25 13:11:13 -04:00 committed by John W. Linville
parent b46794dffa
commit 0681f98935
1 changed files with 0 additions and 1 deletions

View File

@ -316,7 +316,6 @@ static int wlan_dev_close(struct net_device *dev)
lbs_deb_enter(LBS_DEB_NET);
netif_carrier_off(priv->dev);
netif_carrier_off(priv->mesh_dev);
priv->open = 0;
lbs_deb_leave(LBS_DEB_NET);