Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 19 years ago
parent
commit
91484a64f6
3 changed files with 2 additions and 78 deletions
  1. +2
    -2
      package/avm/btscanner/btscanner.desc
  2. +0
    -31
      package/avm/btscanner/dontchecklibsdp.patch
  3. +0
    -45
      package/avm/btscanner/get-read.patch

+ 2
- 2
package/avm/btscanner/btscanner.desc

@ -42,8 +42,8 @@
[L] GPL
[S] Stable
[V] 1.0
[V] 2.1
[P] X -----5---9 229.900
[D] 869094593 btscanner-1.0.tar.gz http://www.pentest.co.uk/src/
[D] 445086461 btscanner-2.1.tar.bz2 http://www.pentest.co.uk/src/

+ 0
- 31
package/avm/btscanner/dontchecklibsdp.patch

@ -1,31 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/avm/btscanner/dontchecklibsdp.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
diff -ruN btscanner-1.0/configure.in btscanner-1.0-new/configure.in
--- btscanner-1.0/configure.in 2003-10-14 13:01:20.000000000 +0200
+++ btscanner-1.0-new/configure.in 2004-12-29 10:30:06.770321632 +0100
@@ -12,7 +12,7 @@
# Checks for libraries.
AC_HAVE_LIBRARY(curses,,[AC_MSG_ERROR([Curses not found])])
AC_HAVE_LIBRARY(bluetooth,,[AC_MSG_ERROR([Bluetooth not found])])
-AC_HAVE_LIBRARY(sdp,,[AC_MSG_ERROR([SDP not found])])
+# AC_HAVE_LIBRARY(sdp,,[AC_MSG_ERROR([SDP not found])])
AC_HAVE_LIBRARY(pthread,,[AC_MSG_ERROR([Pthreads not found])])
AC_HAVE_LIBRARY(gdbm,,[AC_MSG_ERROR([GDBM not found])])

+ 0
- 45
package/avm/btscanner/get-read.patch

@ -1,45 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/avm/btscanner/get-read.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
diff -ruN btscanner-1.0/bs_info.c btscanner-1.0-new/bs_info.c
--- btscanner-1.0/bs_info.c 2003-10-14 18:31:10.000000000 +0200
+++ btscanner-1.0-new/bs_info.c 2005-06-09 11:05:00.000000000 +0200
@@ -160,7 +160,7 @@
struct hci_conn_info_req *cr;
struct hci_request rq;
read_rssi_rp rp_rssi;
- get_link_quality_rp rp_lq;
+ read_link_quality_rp rp_lq;
int err = 0;
int leave = 0;;
@@ -292,11 +292,11 @@
memset(&rq, 0, sizeof(rq));
memset(&rp_lq, 0, sizeof(rp_lq));
rq.ogf = OGF_STATUS_PARAM;
- rq.ocf = OCF_GET_LINK_QUALITY;
+ rq.ocf = OCF_READ_LINK_QUALITY;
rq.cparam = &handle;
rq.clen = 2;
rq.rparam = &rp_lq;
- rq.rlen = GET_LINK_QUALITY_RP_SIZE;
+ rq.rlen = READ_LINK_QUALITY_RP_SIZE;
if (hci_send_req(dd, &rq, 100) < 0) {
p->lq_status = (uint8_t)-1;

Loading…
Cancel
Save