Commit 0681f989 authored by Luis Carlos Cobo's avatar Luis Carlos Cobo Committed by John W. Linville

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

Fixed kernel oops on module/card removal (using dongles)
Signed-off-by: default avatarLuis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent b46794df
...@@ -316,7 +316,6 @@ static int wlan_dev_close(struct net_device *dev) ...@@ -316,7 +316,6 @@ static int wlan_dev_close(struct net_device *dev)
lbs_deb_enter(LBS_DEB_NET); lbs_deb_enter(LBS_DEB_NET);
netif_carrier_off(priv->dev); netif_carrier_off(priv->dev);
netif_carrier_off(priv->mesh_dev);
priv->open = 0; priv->open = 0;
lbs_deb_leave(LBS_DEB_NET); lbs_deb_leave(LBS_DEB_NET);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment