aboutsummaryrefslogtreecommitdiffstats
path: root/package/libnl/patches
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-01-28 09:22:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-01-28 09:22:10 +0000
commit359cda4e26fd88fd1aa49e6de8a93dbbc56d9075 (patch)
tree44d2986917fb1fe93c5a3190dfe4fbdf814bdc36 /package/libnl/patches
parentb665dfd554d9c3d25f90abd6c7d2dd166d2b66ac (diff)
downloadupstream-359cda4e26fd88fd1aa49e6de8a93dbbc56d9075.tar.gz
upstream-359cda4e26fd88fd1aa49e6de8a93dbbc56d9075.tar.bz2
upstream-359cda4e26fd88fd1aa49e6de8a93dbbc56d9075.zip
libnl: update linux/genetlink.h for iw package (thanks to Hauke Mehrtens <hauke@hauke-m.de>)
SVN-Revision: 14234
Diffstat (limited to 'package/libnl/patches')
-rw-r--r--package/libnl/patches/160-update_includes_for_iw.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/libnl/patches/160-update_includes_for_iw.patch b/package/libnl/patches/160-update_includes_for_iw.patch
new file mode 100644
index 0000000000..ad36dab4ba
--- /dev/null
+++ b/package/libnl/patches/160-update_includes_for_iw.patch
@@ -0,0 +1,34 @@
+--- a/include/linux/genetlink.h
++++ b/include/linux/genetlink.h
+@@ -39,6 +39,9 @@ enum {
+ CTRL_CMD_NEWOPS,
+ CTRL_CMD_DELOPS,
+ CTRL_CMD_GETOPS,
++ CTRL_CMD_NEWMCAST_GRP,
++ CTRL_CMD_DELMCAST_GRP,
++ CTRL_CMD_GETMCAST_GRP, /* unused */
+ __CTRL_CMD_MAX,
+ };
+
+@@ -52,6 +55,7 @@ enum {
+ CTRL_ATTR_HDRSIZE,
+ CTRL_ATTR_MAXATTR,
+ CTRL_ATTR_OPS,
++ CTRL_ATTR_MCAST_GROUPS,
+ __CTRL_ATTR_MAX,
+ };
+
+@@ -66,4 +70,13 @@ enum {
+
+ #define CTRL_ATTR_OP_MAX (__CTRL_ATTR_OP_MAX - 1)
+
++enum {
++ CTRL_ATTR_MCAST_GRP_UNSPEC,
++ CTRL_ATTR_MCAST_GRP_NAME,
++ CTRL_ATTR_MCAST_GRP_ID,
++ __CTRL_ATTR_MCAST_GRP_MAX,
++};
++
++#define CTRL_ATTR_MCAST_GRP_MAX (__CTRL_ATTR_MCAST_GRP_MAX - 1)
++
+ #endif /* __LINUX_GENERIC_NETLINK_H */