PATCH: upgrades kismet to 2007-10-R1
This patch updates kismet to 2007-10-R1. I have been using kismet_server compiled from this on r9512 for about a month on a wgt634u with no problems. Signed-off-by: Russell Senior <seniorr@aracnet.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@9653 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
net/kismet/patches/100-fix-atan.patch
Normal file
12
net/kismet/patches/100-fix-atan.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -ru kismet-2007-10-R1/gpsd.cc kismet-2007-10-R1-fixed/gpsd.cc
|
||||
--- kismet-2007-10-R1/gpsd.cc 2007-09-15 09:14:00.000000000 -0700
|
||||
+++ kismet-2007-10-R1-fixed/gpsd.cc 2007-11-06 01:46:12.000000000 -0800
|
||||
@@ -323,7 +323,7 @@
|
||||
if (ty == 0) {
|
||||
dir = 0.0;
|
||||
} else {
|
||||
- dir = atan(tx / ty);
|
||||
+ dir = atan2(tx,ty);
|
||||
}
|
||||
|
||||
if (!finite(dir))
|
Reference in New Issue
Block a user