aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/join.c
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-05-25 22:58:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:44 -0400
commit45f43de829981e9b9de56d6098d00d511b4fb56c (patch)
treeb32e942d36da120b0d6d0775b862f826123e9528 /drivers/net/wireless/libertas/join.c
parent57361c6edc5801636eeeef0100d3071ab0b5c573 (diff)
[PATCH] libertas: add more verbose debugging to libertas_cmd_80211_authenticate
Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/join.c')
-rw-r--r--drivers/net/wireless/libertas/join.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index 944f7acf261f..f222e78a922c 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -263,6 +263,8 @@ int libertas_cmd_80211_authenticate(wlan_private * priv,
263 int ret = -1; 263 int ret = -1;
264 u8 *bssid = pdata_buf; 264 u8 *bssid = pdata_buf;
265 265
266 lbs_deb_enter(LBS_DEB_JOIN);
267
266 cmd->command = cpu_to_le16(cmd_802_11_authenticate); 268 cmd->command = cpu_to_le16(cmd_802_11_authenticate);
267 cmd->size = cpu_to_le16(sizeof(struct cmd_ds_802_11_authenticate) 269 cmd->size = cpu_to_le16(sizeof(struct cmd_ds_802_11_authenticate)
268 + S_DS_GEN); 270 + S_DS_GEN);
@@ -286,10 +288,12 @@ int libertas_cmd_80211_authenticate(wlan_private * priv,
286 288
287 memcpy(pauthenticate->macaddr, bssid, ETH_ALEN); 289 memcpy(pauthenticate->macaddr, bssid, ETH_ALEN);
288 290
289 lbs_deb_join("AUTH_CMD: Bssid is : " MAC_FMT "\n", MAC_ARG(bssid)); 291 lbs_deb_join("AUTH_CMD: BSSID is : " MAC_FMT " auth=0x%X\n",
292 MAC_ARG(bssid), pauthenticate->authtype);
290 ret = 0; 293 ret = 0;
291 294
292out: 295out:
296 lbs_deb_leave_args(LBS_DEB_JOIN, "ret %d", ret);
293 return ret; 297 return ret;
294} 298}
295 299