aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Stefani <luca020400@lineageos.org>2017-08-22 22:27:48 +0200
committerdd3boh <dade.garberi@gmail.com>2017-09-07 17:34:14 +0200
commit48d0ef9cb3dfaffb81694045299cdbd29cd3ee18 (patch)
tree450bfa6ce9ce17d7f269e3d666b41bc5054c26bb
parentfd955e24b074dede62d00873cc6c9f420e4e959e (diff)
oneplus3: rootdir: Add hci_filter_root
* Also update start_hci_filter from pixel Change-Id: I32f48029bbfb607a267ae8b55a08d9fc9aad348f Signed-off-by: dd3boh <dade.garberi@gmail.com>
-rwxr-xr-xrootdir/etc/init.qcom.rc11
1 files changed, 11 insertions, 0 deletions
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