From 6d06189a635905bfa4d889d2a8f8af0f45df3d72 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Thu, 6 Oct 2005 01:55:35 +0000 Subject: zd1211: Fix compilation issues on kernels >=2.6.13 Add iwconfig rate patch remove old cvs version that won't compile --- packages/zd1211/zd1211-20050822/access_ok.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packages/zd1211/zd1211-20050822/access_ok.patch (limited to 'packages/zd1211/zd1211-20050822/access_ok.patch') 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; + -- cgit v1.2.3