Skip to content

Commit aa51142

Browse files
zhao-gangjmberg-intel
authored andcommitted
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>
1 parent 041f607 commit aa51142

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎net/mac80211/debugfs.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef __MAC80211_DEBUGFS_H
22
#define __MAC80211_DEBUGFS_H
33

4+
#include "ieee80211_i.h"
5+
46
#ifdef CONFIG_MAC80211_DEBUGFS
57
void debugfs_hw_add(struct ieee80211_local *local);
68
int __printf(4, 5) mac80211_format_buffer(char __user *userbuf, size_t count,

‎net/mac80211/debugfs_netdev.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
#ifndef __IEEE80211_DEBUGFS_NETDEV_H
44
#define __IEEE80211_DEBUGFS_NETDEV_H
55

6+
#include "ieee80211_i.h"
7+
68
#ifdef CONFIG_MAC80211_DEBUGFS
79
void ieee80211_debugfs_add_netdev(struct ieee80211_sub_if_data *sdata);
810
void ieee80211_debugfs_remove_netdev(struct ieee80211_sub_if_data *sdata);

‎net/mac80211/michael.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#define MICHAEL_H
1212

1313
#include <linux/types.h>
14+
#include <linux/ieee80211.h>
1415

1516
#define MICHAEL_MIC_LEN 8
1617

0 commit comments

Comments
 (0)