diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-25 23:51:12 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-11 14:28:46 -0400 |
commit | 785e8f2679ce9ae703f1c737aa4d48b315d511ca (patch) | |
tree | 8d0d317684f7fc50abc5a8baf444f0441eedbcf2 /drivers/net | |
parent | 707985b3850f6ff168340e20b7f6b783782fb8ed (diff) |
[PATCH] libertas: tweak association debug output
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/libertas/assoc.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c index c70c472f4e0e..bf804d311422 100644 --- a/drivers/net/wireless/libertas/assoc.c +++ b/drivers/net/wireless/libertas/assoc.c | |||
@@ -48,19 +48,16 @@ static void print_assoc_req(const char * extra, struct assoc_request * assoc_req | |||
48 | " band: %d\n" | 48 | " band: %d\n" |
49 | " mode: %d\n" | 49 | " mode: %d\n" |
50 | " BSSID: " MAC_FMT "\n" | 50 | " BSSID: " MAC_FMT "\n" |
51 | " WPA: %d\n" | 51 | " Encryption:%s%s%s\n" |
52 | " WPA2: %d\n" | 52 | " auth: %d\n", |
53 | " WEP status: %d\n" | ||
54 | " auth: %d\n" | ||
55 | " auth_alg: %d\n" | ||
56 | " encmode: %d\n", | ||
57 | extra, assoc_req->flags, | 53 | extra, assoc_req->flags, |
58 | libertas_escape_essid(assoc_req->ssid.ssid, assoc_req->ssid.ssidlength), | 54 | libertas_escape_essid(assoc_req->ssid.ssid, assoc_req->ssid.ssidlength), |
59 | assoc_req->channel, assoc_req->band, assoc_req->mode, | 55 | assoc_req->channel, assoc_req->band, assoc_req->mode, |
60 | MAC_ARG(assoc_req->bssid), assoc_req->secinfo.WPAenabled, | 56 | MAC_ARG(assoc_req->bssid), |
61 | assoc_req->secinfo.WPA2enabled, assoc_req->secinfo.WEPstatus, | 57 | assoc_req->secinfo.WPAenabled ? " WPA" : "", |
62 | assoc_req->secinfo.authmode, assoc_req->secinfo.auth1xalg, | 58 | assoc_req->secinfo.WPA2enabled ? " WPA2" : "", |
63 | assoc_req->secinfo.Encryptionmode); | 59 | assoc_req->secinfo.wep_enabled ? " WEP" : "", |
60 | assoc_req->secinfo.auth_mode); | ||
64 | } | 61 | } |
65 | 62 | ||
66 | 63 | ||
@@ -132,7 +129,7 @@ static int assoc_helper_bssid(wlan_private *priv, | |||
132 | int ret = 0; | 129 | int ret = 0; |
133 | struct bss_descriptor * bss; | 130 | struct bss_descriptor * bss; |
134 | 131 | ||
135 | lbs_deb_enter_args(LBS_DEB_ASSOC, "BSSID " MAC_FMT "\n", | 132 | lbs_deb_enter_args(LBS_DEB_ASSOC, "BSSID " MAC_FMT, |
136 | MAC_ARG(assoc_req->bssid)); | 133 | MAC_ARG(assoc_req->bssid)); |
137 | 134 | ||
138 | /* Search for index position in list for requested MAC */ | 135 | /* Search for index position in list for requested MAC */ |