Skip to content

Commit

Permalink
[PATCH] libertas: add more verbose debugging to libertas_cmd_80211_au…
Browse files Browse the repository at this point in the history
…thenticate

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and John W. Linville committed Jun 11, 2007
1 parent 57361c6 commit 45f43de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion drivers/net/wireless/libertas/join.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ int libertas_cmd_80211_authenticate(wlan_private * priv,
int ret = -1;
u8 *bssid = pdata_buf;

lbs_deb_enter(LBS_DEB_JOIN);

cmd->command = cpu_to_le16(cmd_802_11_authenticate);
cmd->size = cpu_to_le16(sizeof(struct cmd_ds_802_11_authenticate)
+ S_DS_GEN);
Expand All @@ -286,10 +288,12 @@ int libertas_cmd_80211_authenticate(wlan_private * priv,

memcpy(pauthenticate->macaddr, bssid, ETH_ALEN);

lbs_deb_join("AUTH_CMD: Bssid is : " MAC_FMT "\n", MAC_ARG(bssid));
lbs_deb_join("AUTH_CMD: BSSID is : " MAC_FMT " auth=0x%X\n",
MAC_ARG(bssid), pauthenticate->authtype);
ret = 0;

out:
lbs_deb_leave_args(LBS_DEB_JOIN, "ret %d", ret);
return ret;
}

Expand Down

0 comments on commit 45f43de

Please sign in to comment.