This fixes mac80211 compilation when CONFIG_MAC80211_DEBUG is set but
CONFIG_MAC80211_VERBOSE_DEBUG is not.
Signed-off-by: Johannes Berg <[email protected]>
--- 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));
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