提交 aa51142f 编写于 作者: Z Zhao, Gang 提交者: 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: NZhao, Gang <gamerh2o@gmail.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 041f607d
#ifndef __MAC80211_DEBUGFS_H
#define __MAC80211_DEBUGFS_H
#include "ieee80211_i.h"
#ifdef CONFIG_MAC80211_DEBUGFS
void debugfs_hw_add(struct ieee80211_local *local);
int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,
......
......@@ -3,6 +3,8 @@
#ifndef __IEEE80211_DEBUGFS_NETDEV_H
#define __IEEE80211_DEBUGFS_NETDEV_H
#include "ieee80211_i.h"
#ifdef CONFIG_MAC80211_DEBUGFS
void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);
......
......@@ -11,6 +11,7 @@
#define MICHAEL_H
#include <linux/types.h>
#include <linux/ieee80211.h>
#define MICHAEL_MIC_LEN 8
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册