netdev
[Top] [All Lists]

[PATCH wireless-2.6 1/12] Host AP: Disable EAPOL TX/RX debug messages

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: [PATCH wireless-2.6 1/12] Host AP: Disable EAPOL TX/RX debug messages
From: Jouni Malinen <jkmaline@xxxxxxxxx>
Date: Sun, 7 Nov 2004 23:10:36 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20041108070156.GA1076@jm.kir.nu>
References: <20041108070156.GA1076@jm.kir.nu>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6i
Signed-off-by: Jouni Malinen <jkmaline@xxxxxxxxx>


diff -Nru a/drivers/net/wireless/hostap/hostap_80211_rx.c 
b/drivers/net/wireless/hostap/hostap_80211_rx.c
--- a/drivers/net/wireless/hostap/hostap_80211_rx.c     2004-11-07 22:37:51 
-08:00
+++ b/drivers/net/wireless/hostap/hostap_80211_rx.c     2004-11-07 22:37:51 
-08:00
@@ -934,7 +934,7 @@
                    hostap_is_eapol_frame(local, skb)) {
                        /* pass unencrypted EAPOL frames even if encryption is
                         * configured */
-                       printk(KERN_DEBUG "%s: RX: IEEE 802.1X - passing "
+                       PDEBUG(DEBUG_EXTRA2, "%s: RX: IEEE 802.1X - passing "
                               "unencrypted EAPOL frame\n", local->dev->name);
                } else {
                        printk(KERN_DEBUG "%s: encryption configured, but RX "
@@ -963,7 +963,7 @@
         * the received frame. */
        if (local->ieee_802_1x && local->iw_mode == IW_MODE_MASTER) {
                if (ethertype == ETH_P_PAE) {
-                       printk(KERN_DEBUG "%s: RX: IEEE 802.1X frame\n",
+                       PDEBUG(DEBUG_EXTRA2, "%s: RX: IEEE 802.1X frame\n",
                               dev->name);
                        if (local->hostapd && local->apdev) {
                                /* Send IEEE 802.1X frames to the user
diff -Nru a/drivers/net/wireless/hostap/hostap_80211_tx.c 
b/drivers/net/wireless/hostap/hostap_80211_tx.c
--- a/drivers/net/wireless/hostap/hostap_80211_tx.c     2004-11-07 22:37:51 
-08:00
+++ b/drivers/net/wireless/hostap/hostap_80211_tx.c     2004-11-07 22:37:51 
-08:00
@@ -442,7 +442,7 @@
        if (local->ieee_802_1x && meta->ethertype == ETH_P_PAE && tx.crypt &&
            !(fc & WLAN_FC_ISWEP)) {
                no_encrypt = 1;
-               printk(KERN_DEBUG "%s: TX: IEEE 802.1X - passing "
+               PDEBUG(DEBUG_EXTRA2, "%s: TX: IEEE 802.1X - passing "
                       "unencrypted EAPOL frame\n", dev->name);
                tx.crypt = NULL; /* no encryption for IEEE 802.1X frames */
        }


-- 
Jouni Malinen                                            PGP id EFC895FA

<Prev in Thread] Current Thread [Next in Thread>