Commit 785e8f26 authored by Dan Williams's avatar Dan Williams Committed by John W. Linville

[PATCH] libertas: tweak association debug output

Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 707985b3
...@@ -48,19 +48,16 @@ static void print_assoc_req(const char * extra, struct assoc_request * assoc_req ...@@ -48,19 +48,16 @@ static void print_assoc_req(const char * extra, struct assoc_request * assoc_req
" band: %d\n" " band: %d\n"
" mode: %d\n" " mode: %d\n"
" BSSID: " MAC_FMT "\n" " BSSID: " MAC_FMT "\n"
" WPA: %d\n" " Encryption:%s%s%s\n"
" WPA2: %d\n" " auth: %d\n",
" WEP status: %d\n"
" auth: %d\n"
" auth_alg: %d\n"
" encmode: %d\n",
extra, assoc_req->flags, extra, assoc_req->flags,
libertas_escape_essid(assoc_req->ssid.ssid, assoc_req->ssid.ssidlength), libertas_escape_essid(assoc_req->ssid.ssid, assoc_req->ssid.ssidlength),
assoc_req->channel, assoc_req->band, assoc_req->mode, assoc_req->channel, assoc_req->band, assoc_req->mode,
MAC_ARG(assoc_req->bssid), assoc_req->secinfo.WPAenabled, MAC_ARG(assoc_req->bssid),
assoc_req->secinfo.WPA2enabled, assoc_req->secinfo.WEPstatus, assoc_req->secinfo.WPAenabled ? " WPA" : "",
assoc_req->secinfo.authmode, assoc_req->secinfo.auth1xalg, assoc_req->secinfo.WPA2enabled ? " WPA2" : "",
assoc_req->secinfo.Encryptionmode); assoc_req->secinfo.wep_enabled ? " WEP" : "",
assoc_req->secinfo.auth_mode);
} }
...@@ -132,7 +129,7 @@ static int assoc_helper_bssid(wlan_private *priv, ...@@ -132,7 +129,7 @@ static int assoc_helper_bssid(wlan_private *priv,
int ret = 0; int ret = 0;
struct bss_descriptor * bss; struct bss_descriptor * bss;
lbs_deb_enter_args(LBS_DEB_ASSOC, "BSSID " MAC_FMT "\n", lbs_deb_enter_args(LBS_DEB_ASSOC, "BSSID " MAC_FMT,
MAC_ARG(assoc_req->bssid)); MAC_ARG(assoc_req->bssid));
/* Search for index position in list for requested MAC */ /* Search for index position in list for requested MAC */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment