Commit aa51142f authored by Zhao, Gang's avatar Zhao, Gang Committed by Johannes Berg

mac80211: fix some missing includes

Some header files in mac80211 don't include all the
header files they require, fix that.
Signed-off-by: default avatarZhao, Gang <gamerh2o@gmail.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 041f607d
#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,
......
...@@ -3,6 +3,8 @@ ...@@ -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);
......
...@@ -11,6 +11,7 @@ ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment