Search Linux Wireless

[PATCH] fix mac80211 compile w/o VERBOSE_DEBUG but w/ DEBUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes mac80211 compilation when CONFIG_MAC80211_DEBUG is set but
CONFIG_MAC80211_VERBOSE_DEBUG is not.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>

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


-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux