diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/mesh.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index ad3434011897..127b7f60c320 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -986,10 +986,6 @@ struct lbs_private *lbs_add_card(void *card, struct device *dmdev) | |||
986 | INIT_DELAYED_WORK(&priv->scan_work, lbs_scan_worker); | 986 | INIT_DELAYED_WORK(&priv->scan_work, lbs_scan_worker); |
987 | INIT_WORK(&priv->mcast_work, lbs_set_mcast_worker); | 987 | INIT_WORK(&priv->mcast_work, lbs_set_mcast_worker); |
988 | 988 | ||
989 | priv->mesh_open = 0; | ||
990 | sprintf(priv->mesh_ssid, "mesh"); | ||
991 | priv->mesh_ssid_len = 4; | ||
992 | |||
993 | priv->wol_criteria = 0xffffffff; | 989 | priv->wol_criteria = 0xffffffff; |
994 | priv->wol_gpio = 0xff; | 990 | priv->wol_gpio = 0xff; |
995 | 991 | ||
diff --git a/drivers/net/wireless/libertas/mesh.c b/drivers/net/wireless/libertas/mesh.c index 1d94f7d4efc8..4f67c8b62edc 100644 --- a/drivers/net/wireless/libertas/mesh.c +++ b/drivers/net/wireless/libertas/mesh.c | |||
@@ -237,6 +237,9 @@ int lbs_init_mesh(struct lbs_private *priv) | |||
237 | 237 | ||
238 | 238 | ||
239 | if (priv->mesh_tlv) { | 239 | if (priv->mesh_tlv) { |
240 | sprintf(priv->mesh_ssid, "mesh"); | ||
241 | priv->mesh_ssid_len = 4; | ||
242 | |||
240 | lbs_add_mesh(priv); | 243 | lbs_add_mesh(priv); |
241 | 244 | ||
242 | if (device_create_file(&dev->dev, &dev_attr_lbs_mesh)) | 245 | if (device_create_file(&dev->dev, &dev_attr_lbs_mesh)) |