38d655fe0597209ff5d5fbe96658913da5a1a73d
[openwrt/staging/chunkeey.git] / package / kernel / mac80211 / patches / 004-header-backport-GENL_UNS_ADMIN_PERM.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Sat, 14 May 2016 16:39:35 +0200
3 Subject: [PATCH] header: backport GENL_UNS_ADMIN_PERM
4
5 Signed-off-by: Felix Fietkau <nbd@nbd.name>
6 ---
7 create mode 100644 backport-include/uapi/linux/genetlink.h
8
9 --- /dev/null
10 +++ b/backport-include/uapi/linux/genetlink.h
11 @@ -0,0 +1,10 @@
12 +#ifndef __COMPAT_UAPI_LINUX_GENETLINK_H
13 +#define __COMPAT_UAPI_LINUX_GENETLINK_H
14 +
15 +#include_next <uapi/linux/genetlink.h>
16 +
17 +#ifndef GENL_UNS_ADMIN_PERM
18 +#define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM
19 +#endif
20 +
21 +#endif