Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH] fix mac80211 compile w/o VERBOSE_DEBUG but w/ DEBUG
@ 2007-05-01 11:12 Johannes Berg
  2007-05-01 15:47 ` Jiri Benc
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2007-05-01 11:12 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Jiri Benc

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));



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix mac80211 compile w/o VERBOSE_DEBUG but w/ DEBUG
  2007-05-01 11:12 [PATCH] fix mac80211 compile w/o VERBOSE_DEBUG but w/ DEBUG Johannes Berg
@ 2007-05-01 15:47 ` Jiri Benc
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Benc @ 2007-05-01 15:47 UTC (permalink / raw)
  To: Johannes Berg; +Cc: John Linville, linux-wireless

On Tue, 01 May 2007 13:12:09 +0200, Johannes Berg wrote:
> This fixes mac80211 compilation when CONFIG_MAC80211_DEBUG is set but
> CONFIG_MAC80211_VERBOSE_DEBUG is not.

Applied. Thanks.

 Jiri

-- 
Jiri Benc
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-01 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-01 11:12 [PATCH] fix mac80211 compile w/o VERBOSE_DEBUG but w/ DEBUG Johannes Berg
2007-05-01 15:47 ` Jiri Benc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox