summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_usb.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2007-12-11 18:56:42 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 15:06:53 -0800
commit23a397ac821ab0aa263bda47131bb0628e49101a (patch)
treea631b5bb2b89885519791b46f712b04407692d6a /drivers/net/wireless/libertas/if_usb.c
parente7240acae372727aa8eb3a67ca7b189dd261136a (diff)
downloadtalos-op-linux-23a397ac821ab0aa263bda47131bb0628e49101a.tar.gz
talos-op-linux-23a397ac821ab0aa263bda47131bb0628e49101a.zip
libertas: add lbs_mesh sysfs attribute for enabling mesh
Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.c')
-rw-r--r--drivers/net/wireless/libertas/if_usb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 7c57ff44ad01..351c7ea43184 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -232,9 +232,6 @@ static int if_usb_probe(struct usb_interface *intf,
cardp->priv = priv;
cardp->priv->fw_ready = 1;
- if (lbs_add_mesh(priv, &udev->dev))
- goto err_add_mesh;
-
cardp->eth_dev = priv->dev;
priv->hw_host_to_card = if_usb_host_to_card;
@@ -255,8 +252,6 @@ static int if_usb_probe(struct usb_interface *intf,
return 0;
err_start_card:
- lbs_remove_mesh(priv);
-err_add_mesh:
lbs_remove_card(priv);
err_prog_firmware:
if_usb_reset_device(cardp);
@@ -286,7 +281,6 @@ static void if_usb_disconnect(struct usb_interface *intf)
priv->surpriseremoved = 1;
lbs_stop_card(priv);
- lbs_remove_mesh(priv);
lbs_remove_card(priv);
}
OpenPOWER on IntegriCloud