aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r--drivers/net/wireless/libertas/cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index ddf15271244f..c4299ae1774e 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -1121,14 +1121,14 @@ int lbs_mesh_config(struct lbs_private *priv, int enable)
1121 memset(&cmd, 0, sizeof(cmd)); 1121 memset(&cmd, 0, sizeof(cmd));
1122 cmd.action = cpu_to_le16(enable); 1122 cmd.action = cpu_to_le16(enable);
1123 cmd.channel = cpu_to_le16(priv->curbssparams.channel); 1123 cmd.channel = cpu_to_le16(priv->curbssparams.channel);
1124 cmd.type = cpu_to_le16(0x100 + 37); 1124 cmd.type = cpu_to_le16(priv->mesh_tlv);
1125 1125
1126 if (enable) { 1126 if (enable) {
1127 cmd.length = cpu_to_le16(priv->mesh_ssid_len); 1127 cmd.length = cpu_to_le16(priv->mesh_ssid_len);
1128 memcpy(cmd.data, priv->mesh_ssid, priv->mesh_ssid_len); 1128 memcpy(cmd.data, priv->mesh_ssid, priv->mesh_ssid_len);
1129 } 1129 }
1130 lbs_deb_cmd("mesh config channel %d SSID %s\n", 1130 lbs_deb_cmd("mesh config enable %d TLV %x channel %d SSID %s\n",
1131 priv->curbssparams.channel, 1131 enable, priv->mesh_tlv, priv->curbssparams.channel,
1132 escape_essid(priv->mesh_ssid, priv->mesh_ssid_len)); 1132 escape_essid(priv->mesh_ssid, priv->mesh_ssid_len));
1133 return lbs_cmd_with_response(priv, CMD_MESH_CONFIG, &cmd); 1133 return lbs_cmd_with_response(priv, CMD_MESH_CONFIG, &cmd);
1134} 1134}