summaryrefslogtreecommitdiff
path: root/packages/zd1211/zd1211-20050822/access_ok.patch
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-10-06 01:55:35 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-06 01:55:35 +0000
commit6d06189a635905bfa4d889d2a8f8af0f45df3d72 (patch)
treea1f711829f0fde76a40046e7a16b05e08c24cf73 /packages/zd1211/zd1211-20050822/access_ok.patch
parenta9e4f9da6ecb564965ec017ccc764a9d4a44f047 (diff)
zd1211: Fix compilation issues on kernels >=2.6.13
Add iwconfig rate patch remove old cvs version that won't compile
Diffstat (limited to 'packages/zd1211/zd1211-20050822/access_ok.patch')
-rw-r--r--packages/zd1211/zd1211-20050822/access_ok.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/zd1211/zd1211-20050822/access_ok.patch b/packages/zd1211/zd1211-20050822/access_ok.patch
new file mode 100644
index 0000000000..95fbb592b0
--- /dev/null
+++ b/packages/zd1211/zd1211-20050822/access_ok.patch
@@ -0,0 +1,11 @@
+--- zd1211/src/zd1205.c.orig 2005-10-06 03:30:27.200837520 +0200
++++ zd1211/src/zd1205.c 2005-10-06 03:29:37.176442384 +0200
+@@ -4434,7 +4434,7 @@
+ { SIOCIWFIRSTPRIV + 0xD, 0, 0, "save_conf" },
+ };
+
+- err = verify_area(VERIFY_WRITE, wrq->u.data.pointer, sizeof(privtab));
++ err = access_ok(VERIFY_WRITE, wrq->u.data.pointer, sizeof(privtab));
+ if (err)
+ break;
+