Since commit
5ed071ec9992 ("nl80211: Allow privileged operations
from user namespaces") the definition GENL_UNS_ADMIN_PERM is used
by nl80211.c. Add definition mapping to GENL_ADMIN_PERM for kernel
not having it thus reverting to previous permission check.
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
#endif /* < 4.4 */
#endif /* < 3.13 */
+#ifndef GENL_UNS_ADMIN_PERM
+#define GENL_UNS_ADMIN_PERM GENL_ADMIN_PERM
+#endif
+
#endif /* __BACKPORT_NET_GENETLINK_H */