Skip to contentSkip to conversation

compat-iwlwifi: properly handle mac80211 tracing

PATCH In review Johannes Berg 1 participant 2 messages Mar 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat-iwlwifi: properly handle mac80211 tracing

From: Johannes Berg <[email protected]>

When tracing was disabled by default, we got build errors when it was enabled after all because then the driver-trace.c file was never built, fix that.

---
 patches/44-deactivate-mac80211-tracing.patch |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
patches/44-deactivate-mac80211-tracing.patch +5 -3
index 6445f30..9f79b89 100644
@@ -2,14 +2,16 @@ Do not activate the mac80211 tracing by default as it does not work with
 kernel <= 2.6.32. Compat also includes include/trace/define_trace.h over
 include/trace/events/module.h which makes this not compiling any more.
 
---- a/net/mac80211/Makefile
-+++ b/net/mac80211/Makefile
-@@ -25,7 +25,7 @@ mac80211-y := \
+--- a/net/mac80211/Makefile	2012-02-24 16:39:05.000000000 +0100
++++ b/net/mac80211/Makefile	2012-03-04 10:04:01.000000000 +0100
+@@ -25,8 +25,9 @@ mac80211-y := \
  	wme.o \
  	event.o \
  	chan.o \
 -	driver-trace.o mlme.o
 +	mlme.o
  
++mac80211-$(CONFIG_MAC80211_DRIVER_API_TRACER) += driver-trace.o
  mac80211-$(CONFIG_MAC80211_LEDS) += led.o
  mac80211-$(CONFIG_MAC80211_DEBUGFS) += \
+ 	debugfs.o \
Signature · 1 line
1.7.6.3
#1 lore raw

Err. The subject should say compat-wireless of course, doh!

johannes