From 04377d25323013a107226e4032c122a142ec7718 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Wed, 23 May 2018 10:31:49 +0530 Subject: [PATCH] sanders: fix BT MAC address reading --- rootdir/etc/init.qcom.rc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 16b234a..77e8850 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -659,6 +659,20 @@ on property:wc_transport.start_fmhci=true on property:wc_transport.start_fmhci=false stop fmhal_service +service hciattach system/vendor/bin/hci_qcomm_init -e + class late_start + user bluetooth + group bluetooth net_bt_admin + disabled + oneshot + +on property:vendor.bluetooth.hciattach=true + start hciattach + setprop vendor.bluetooth.status on + +on property:vendor.bluetooth.hciattach=false + setprop vendor.bluetooth.status off + service start_hci_filter /system/bin/wcnss_filter class late_start user bluetooth