[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:
parent
b46794dffa
commit
0681f98935
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue