summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/bluez-utils/bluez-utils-common_2.17.inc2
-rw-r--r--packages/bluez-utils/files/base.patch10
2 files changed, 9 insertions, 3 deletions
diff --git a/packages/bluez-utils/bluez-utils-common_2.17.inc b/packages/bluez-utils/bluez-utils-common_2.17.inc
index 69f9514695..348636b926 100644
--- a/packages/bluez-utils/bluez-utils-common_2.17.inc
+++ b/packages/bluez-utils/bluez-utils-common_2.17.inc
@@ -4,7 +4,7 @@ PRIORITY = "optional"
DEPENDS = "bluez-libs-${PV} pcmcia-cs"
RPROVIDES_${PN} = "bluez-pan bluez-sdp bluez-utils"
LICENSE = "GPL"
-PR = "r2"
+PR = "r3"
SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
file://base.patch;patch=1 \
diff --git a/packages/bluez-utils/files/base.patch b/packages/bluez-utils/files/base.patch
index c4bb288303..337c9aa73e 100644
--- a/packages/bluez-utils/files/base.patch
+++ b/packages/bluez-utils/files/base.patch
@@ -5,7 +5,13 @@
--- bluez-utils-2.17/pcmcia/bluetooth~base.patch
+++ bluez-utils-2.17/pcmcia/bluetooth
-@@ -18,6 +18,10 @@
+@@ -15,9 +15,16 @@
+
+ if [ -r ./shared ]; then . ./shared ; else . /etc/pcmcia/shared ; fi
+
++# Give the port some time to complete initialization
++sleep 5
++
# Get device attributes
get_info $DEVICE
@@ -16,7 +22,7 @@
#
# Serial devices
#
-@@ -25,7 +29,7 @@
+@@ -25,7 +32,7 @@
IRQ=`setserial /dev/$DEVICE | sed -e 's/.*IRQ: //'`
setserial /dev/$DEVICE irq 0 ; setserial /dev/$DEVICE irq $IRQ