Thread (34 messages) 34 messages, 4 authors, 2011-06-04
STALE5496d
Revisions (2)
  1. rfc current
  2. v2 [diff vs current]

[RFC PATCH 04/27] rtlwifi: include mac80211.h from core.h

From: Kalle Valo <hidden>
Date: 2011-05-29 20:04:36
Subsystem: networking drivers (wireless), the rest · Maintainers: Johannes Berg, Linus Torvalds

core.h references ieee80211_ops but doesn't include mac80211.h, which issues
a warning once mac80211-compat.h is taken into use.

Signed-off-by: Kalle Valo <redacted>
---
 drivers/net/wireless/rtlwifi/core.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/rtlwifi/core.h b/drivers/net/wireless/rtlwifi/core.h
index 4b247db..f02824a 100644
--- a/drivers/net/wireless/rtlwifi/core.h
+++ b/drivers/net/wireless/rtlwifi/core.h
@@ -30,6 +30,8 @@
 #ifndef __RTL_CORE_H__
 #define __RTL_CORE_H__
 
+#include <net/mac80211.h>
+
 #define RTL_SUPPORTED_FILTERS		\
 	(FIF_PROMISC_IN_BSS | \
 	FIF_ALLMULTI | FIF_CONTROL | \
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help