From d9759be6496da18607bf3068bca9464c44285d33 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Feb 2011 17:29:33 +0100 Subject: fix some allmodconfig issues for mips target --- package/kismet/patches/patch-ifcontrol_cc | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 package/kismet/patches/patch-ifcontrol_cc (limited to 'package/kismet/patches/patch-ifcontrol_cc') diff --git a/package/kismet/patches/patch-ifcontrol_cc b/package/kismet/patches/patch-ifcontrol_cc deleted file mode 100644 index a7028eb32..000000000 --- a/package/kismet/patches/patch-ifcontrol_cc +++ /dev/null @@ -1,11 +0,0 @@ ---- kismet-2010-01-R1.orig/ifcontrol.cc Mon Aug 31 01:36:19 2009 -+++ kismet-2010-01-R1/ifcontrol.cc Wed Feb 17 21:59:02 2010 -@@ -149,7 +149,7 @@ string Linux_GetSysDrv(const char *in_dev) { - devlinklen = readlink(devlink.c_str(), devlinktarget, 511); - if (devlinklen > 0) { - devlinktarget[devlinklen] = '\0'; -- rind = rindex(devlinktarget, '/'); -+ rind = strchr(devlinktarget, '/'); - // If we found it and not at the end of the line - if (rind != NULL && (rind - devlinktarget) + 1 < devlinklen) - return string(rind + 1); -- cgit v1.2.3