mwifiex: don't include mac80211.h
authorJohannes Berg <johannes.berg@intel.com>
Thu, 5 Jan 2017 12:38:35 +0000 (13:38 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 7 Feb 2017 07:56:19 +0000 (09:56 +0200)
This driver doesn't use mac80211, so it shouldn't include mac80211.h,
include only the necessary cfg80211.h instead.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/decl.h

index bec300b9c2ea51bf478d6060b19b952360a36f31..188e4c3708363ea29915c478796c046d1ac9d15a 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/timer.h>
 #include <linux/ieee80211.h>
 #include <uapi/linux/if_arp.h>
-#include <net/mac80211.h>
+#include <net/cfg80211.h>
 
 #define MWIFIEX_BSS_COEX_COUNT      2
 #define MWIFIEX_MAX_BSS_NUM         (3)