Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
#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,
+2 −0
Original line number Diff line number Diff line
@@ -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);
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
#define MICHAEL_H

#include <linux/types.h>
#include <linux/ieee80211.h>

#define MICHAEL_MIC_LEN 8