From 48d0ef9cb3dfaffb81694045299cdbd29cd3ee18 Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Tue, 22 Aug 2017 22:27:48 +0200 Subject: oneplus3: rootdir: Add hci_filter_root * Also update start_hci_filter from pixel Change-Id: I32f48029bbfb607a267ae8b55a08d9fc9aad348f Signed-off-by: dd3boh --- rootdir/etc/init.qcom.rc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 7765fa3..df484e0 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -835,6 +835,17 @@ service start_hci_filter /system/bin/wcnss_filter user bluetooth group bluetooth diag disabled +on property:wc_transport.start_root=true + start hci_filter_root + +on property:wc_transport.start_root=false + stop hci_filter_root + +service hci_filter_root /system/bin/wcnss_filter + class late_start + user bluetooth + group bluetooth diag system + disabled service config_bt_addr /system/bin/btnvtool -O class core -- cgit v1.2.3