compat-iwlwifi: properly handle mac80211 tracing
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.
Signed-off-by Johannes Berg <[email protected]>
--- patches/44-deactivate-mac80211-tracing.patch | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-)
patches/44-deactivate-mac80211-tracing.patch +5 -3
@@ -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
Err. The subject should say compat-wireless of course, doh!
johannes