From 2a05c9b0dfcff0a443c4cb8b025cc63de78132d9 Mon Sep 17 00:00:00 2001 From: Ecco Park Date: Fri, 31 Mar 2017 16:48:02 -0700 Subject: [PATCH] Enable local_buffer mode for cnss_diag under userdebug 1) added -u option for local _buffer mode 2) make cnss_diag running in userdebug build only Bug: 32248316 Change-Id: Ie684addc131ee8cc96cb99ce3745d52096327eaa Signed-off-by: Ecco Park --- init.common.diag.rc.userdebug | 6 ++++++ init.common.rc | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/init.common.diag.rc.userdebug b/init.common.diag.rc.userdebug index 140c6b58e..4bf2094bf 100644 --- a/init.common.diag.rc.userdebug +++ b/init.common.diag.rc.userdebug @@ -105,6 +105,12 @@ on property:persist.sys.cnss.diag_txt=true on property:persist.sys.cnss.diag_txt=false stop cnss_diag_txt +service cnss_diag /vendor/bin/cnss_diag -q -u + class late_start + user system + group system + oneshot + service cnss_diag_txt /vendor/bin/cnss_diag -s -f -m /data/cnss_diag/cnss_diag.conf class late_start user system diff --git a/init.common.rc b/init.common.rc index fdb508fdd..5a333f100 100644 --- a/init.common.rc +++ b/init.common.rc @@ -667,12 +667,6 @@ service wpa_supplicant /vendor/bin/hw/wpa_supplicant \ disabled oneshot -service cnss_diag /vendor/bin/cnss_diag -q - class late_start - user system - group system - oneshot - service cnss-daemon /vendor/bin/cnss-daemon -n -l class late_start user system