iwlwifi: include net/mac80211.h to avoid compiler error
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 3 Apr 2012 23:23:37 +0000 (16:23 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:21:53 +0000 (14:21 -0700)
without the include, kernel compiling will fail, but not compat.
this patch need to be merge with iwlwifi-clean-up-iwl-shared.h-includes.patch

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-fw.h

index 8e36bdc..2153e4c 100644 (file)
@@ -63,6 +63,7 @@
 #ifndef __iwl_fw_h__
 #define __iwl_fw_h__
 #include <linux/types.h>
+#include <net/mac80211.h>
 
 /**
  * enum iwl_ucode_tlv_flag - ucode API flags