From d7b94f2b79359e11f64afc714c235bf9aa01e49b Mon Sep 17 00:00:00 2001 From: Vachounet Date: Wed, 23 Aug 2017 13:08:46 +0200 Subject: [PATCH] potter: rootdir: Add hci_filter_root Change-Id: I1ce0e0c1a31c097a0caff5d8948d815a2f53fc7f --- rootdir/etc/init.qcom.rc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 008ea17..3eeb0c8 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -558,8 +558,20 @@ on property:wc_transport.start_fmhci=false service start_hci_filter /system/bin/wcnss_filter class late_start - user root - group bluetooth diag system wakelock diag log + 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 #net_admin capability needed to write rfkill sysfs entry