blob: 45839053cc2ab1d930e0c25b74da5925125df29e [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From af91c96951a11f81f5cea88a0010161592c89310 Mon Sep 17 00:00:00 2001
2From: "Peter A. Bigot" <pab@pabigot.com>
3Date: Wed, 14 Nov 2018 09:19:51 -0600
4Subject: [PATCH] bthelper: correct path for hciconfig under Yocto
5
6Upstream-Status: Inapproprate [OE-specific]
7Signed-off-by: Peter A. Bigot <pab@pabigot.com>
8---
9 usr/bin/bthelper | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/usr/bin/bthelper b/usr/bin/bthelper
13index 255fdeb..4e1a1a4 100755
14--- a/usr/bin/bthelper
15+++ b/usr/bin/bthelper
16@@ -10,7 +10,7 @@ fi
17
18 dev="$1"
19 # Need to bring hci up before looking at MAC as it can be all zeros during init
20-/bin/hciconfig "$dev" up
21-/bin/hciconfig "$dev" |grep -q "BD Address: B8:27:EB:" || exit 0
22+/usr/bin/hciconfig "$dev" up
23+/usr/bin/hciconfig "$dev" |grep -q "BD Address: B8:27:EB:" || exit 0
24 /usr/bin/hcitool -i "$dev" cmd 0x3f 0x1c 0x01 0x02 0x00 0x01 0x01 > /dev/null
25
26--
272.17.1
28