libertas: add debugging output to lbs_mesh_config()
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 12 Dec 2007 03:52:03 +0000 (22:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:06:58 +0000 (15:06 -0800)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c

index 01d23493b4eb2bf66b979b5df4b19baf0428479d..1cb42dc90010802ff3f023be9fd1b5586aa9db77 100644 (file)
@@ -1106,7 +1106,9 @@ int lbs_mesh_config(struct lbs_private *priv, int enable)
                cmd.length = cpu_to_le16(priv->mesh_ssid_len);
                memcpy(cmd.data, priv->mesh_ssid, priv->mesh_ssid_len);
        }
-
+       lbs_deb_cmd("mesh config channel %d SSID %s\n",
+                   priv->curbssparams.channel,
+                   escape_essid(priv->mesh_ssid, priv->mesh_ssid_len));
        return lbs_cmd_with_response(priv, CMD_MESH_CONFIG, cmd);
 }