summaryrefslogtreecommitdiff
path: root/patches/0013-fix-makefile-includes/cfg80211.patch
blob: ba4f0825a146e99559ae6a746a19565071cfa599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cfg80211.h uses struct nla_policy in two places, but does not include 
net/netlink.h directly. Because of this missing include the rename to 
struct nla_backport_policy is not applied and this results in type 
mismatch errors when compiling backports. With this additional include 
the type is renamed.

--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -21,6 +21,7 @@
 #include <linux/ieee80211.h>
 #include <linux/net.h>
 #include <net/regulatory.h>
+#include <net/netlink.h>
 
 /**
  * DOC: Introduction