Skip to content

Commit

Permalink
Enable local_buffer mode for cnss_diag under userdebug
Browse files Browse the repository at this point in the history
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 <eccopark@google.com>
  • Loading branch information
eccopark committed Apr 5, 2017
1 parent 768995b commit 2a05c9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions init.common.diag.rc.userdebug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions init.common.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a05c9b

Please sign in to comment.