Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=785e8f2679ce9ae703f1c737aa4d48b315d511ca
Commit:     785e8f2679ce9ae703f1c737aa4d48b315d511ca
Parent:     707985b3850f6ff168340e20b7f6b783782fb8ed
Author:     Dan Williams <[EMAIL PROTECTED]>
AuthorDate: Fri May 25 23:51:12 2007 -0400
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Mon Jun 11 14:28:46 2007 -0400

    [PATCH] libertas: tweak association debug output
    
    Signed-off-by: Dan Williams <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 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 c70c472..bf804d3 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
               "       band:       %d\n"
               "       mode:       %d\n"
               "       BSSID:      " MAC_FMT "\n"
-              "       WPA:        %d\n"
-              "       WPA2:       %d\n"
-              "       WEP status: %d\n"
-              "       auth:       %d\n"
-              "       auth_alg:   %d\n"
-              "       encmode:    %d\n",
+              "       Encryption:%s%s%s\n"
+              "       auth:       %d\n",
               extra, assoc_req->flags,
               libertas_escape_essid(assoc_req->ssid.ssid, 
assoc_req->ssid.ssidlength),
               assoc_req->channel, assoc_req->band, assoc_req->mode,
-              MAC_ARG(assoc_req->bssid), assoc_req->secinfo.WPAenabled,
-              assoc_req->secinfo.WPA2enabled, assoc_req->secinfo.WEPstatus,
-              assoc_req->secinfo.authmode, assoc_req->secinfo.auth1xalg,
-              assoc_req->secinfo.Encryptionmode);
+              MAC_ARG(assoc_req->bssid),
+              assoc_req->secinfo.WPAenabled ? " WPA" : "",
+              assoc_req->secinfo.WPA2enabled ? " WPA2" : "",
+              assoc_req->secinfo.wep_enabled ? " WEP" : "",
+              assoc_req->secinfo.auth_mode);
 }
 
 
@@ -132,7 +129,7 @@ static int assoc_helper_bssid(wlan_private *priv,
        int ret = 0;
        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));
 
        /* Search for index position in list for requested MAC */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to