summaryrefslogtreecommitdiff
path: root/package/kismet/patches/patch-iwcontrol_cc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-19 00:37:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-19 00:37:57 +0100
commitdb287e1579a46cdc8d8d6e1ef10455d2b1f10f22 (patch)
tree818b93556ba68db136962d00b622dc76b6d68327 /package/kismet/patches/patch-iwcontrol_cc
parentaa4ab58940fe84dfd79b230407b0eac2fd10a80b (diff)
parent27d6b2fd1084efa18e71e42441f04a83319317b9 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/kismet/patches/patch-iwcontrol_cc')
-rw-r--r--package/kismet/patches/patch-iwcontrol_cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/kismet/patches/patch-iwcontrol_cc b/package/kismet/patches/patch-iwcontrol_cc
index 01ca44d53..f6e8aac25 100644
--- a/package/kismet/patches/patch-iwcontrol_cc
+++ b/package/kismet/patches/patch-iwcontrol_cc
@@ -1,5 +1,5 @@
---- kismet-2010-01-R1.orig/iwcontrol.cc 2009-08-17 21:51:36.000000000 +0200
-+++ kismet-2010-01-R1/iwcontrol.cc 2010-02-14 22:27:00.000000000 +0100
+--- kismet-2010-01-R1.orig/iwcontrol.cc Mon Aug 17 21:51:36 2009
++++ kismet-2010-01-R1/iwcontrol.cc Wed Feb 17 21:59:02 2010
@@ -32,7 +32,6 @@
#include <linux/if.h>
#include <linux/wireless.h>
@@ -8,7 +8,7 @@
#ifndef rintf
#define rintf(x) (float) rint((double) (x))
-@@ -697,7 +696,7 @@ int Iwconfig_Get_Chanlist(const char *in
+@@ -697,7 +696,7 @@ int Iwconfig_Get_Chanlist(const char *interface, char
return -1;
}
@@ -17,7 +17,7 @@
memset(&wrq, 0, sizeof(struct iwreq));
-@@ -732,7 +731,7 @@ int Iwconfig_Get_Chanlist(const char *in
+@@ -732,7 +731,7 @@ int Iwconfig_Get_Chanlist(const char *interface, char
memcpy((char *) &range, buffer, sizeof(iw_range));
} else {
/* Zero unknown fields */
@@ -26,11 +26,12 @@
/* Initial part unmoved */
memcpy((char *) &range, buffer, iwr15_off(num_channels));
-@@ -798,5 +797,7 @@ int Iwconfig_Get_Chanlist(const char *in
+@@ -797,6 +796,8 @@ int Iwconfig_Get_Chanlist(const char *interface, char
+ close(skfd);
return chan_list->size();
}
-
-+#endif // wireless
+
++#endif // wireless
+
#endif