From: Johannes Berg <johannes@sipsolutions.net>
To: John Linville <linville@tuxdriver.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
Jiri Benc <jbenc@suse.cz>
Subject: [PATCH] fix mac80211 compile w/o VERBOSE_DEBUG but w/ DEBUG
Date: Tue, 01 May 2007 13:12:09 +0200 [thread overview]
Message-ID: <1178017929.3483.23.camel@johannes.berg> (raw)
This fixes mac80211 compilation when CONFIG_MAC80211_DEBUG is set but
CONFIG_MAC80211_VERBOSE_DEBUG is not.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
--- wireless-dev.orig/net/mac80211/ieee80211.c 2007-05-01 13:09:38.284734191 +0200
+++ wireless-dev/net/mac80211/ieee80211.c 2007-05-01 13:10:06.374734191 +0200
@@ -951,7 +951,7 @@ ieee80211_tx_h_check_assoc(struct ieee80
if (unlikely(!tx->u.tx.mgmt_interface && tx->sdata->ieee802_1x &&
!(sta_flags & WLAN_STA_AUTHORIZED))) {
-#ifdef CONFIG_MAC80211_DEBUG
+#ifdef CONFIG_MAC80211_VERBOSE_DEBUG
printk(KERN_DEBUG "%s: dropped frame to " MAC_FMT
" (unauthorized port)\n", tx->dev->name,
MAC_ARG(hdr->addr1));
next reply other threads:[~2007-05-01 11:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-01 11:12 Johannes Berg [this message]
2007-05-01 15:47 ` [PATCH] fix mac80211 compile w/o VERBOSE_DEBUG but w/ DEBUG Jiri Benc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1178017929.3483.23.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=jbenc@suse.cz \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox