mac80211: fix some missing includes

Some header files in mac80211 don't include all the
header files they require, fix that.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Zhao, Gang 2014-04-09 09:28:09 +08:00 committed by Johannes Berg
parent 041f607de1
commit aa51142fc5
3 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,8 @@
#ifndef __MAC80211_DEBUGFS_H #ifndef __MAC80211_DEBUGFS_H
#define __MAC80211_DEBUGFS_H #define __MAC80211_DEBUGFS_H
#include "ieee80211_i.h"
#ifdef CONFIG_MAC80211_DEBUGFS #ifdef CONFIG_MAC80211_DEBUGFS
void debugfs_hw_add(struct ieee80211_local *local); void debugfs_hw_add(struct ieee80211_local *local);
int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count, int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,

View File

@ -3,6 +3,8 @@
#ifndef __IEEE80211_DEBUGFS_NETDEV_H #ifndef __IEEE80211_DEBUGFS_NETDEV_H
#define __IEEE80211_DEBUGFS_NETDEV_H #define __IEEE80211_DEBUGFS_NETDEV_H
#include "ieee80211_i.h"
#ifdef CONFIG_MAC80211_DEBUGFS #ifdef CONFIG_MAC80211_DEBUGFS
void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata); void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata); void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);

View File

@ -11,6 +11,7 @@
#define MICHAEL_H #define MICHAEL_H
#include <linux/types.h> #include <linux/types.h>
#include <linux/ieee80211.h>
#define MICHAEL_MIC_LEN 8 #define MICHAEL_MIC_LEN 8