summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2017-02-28 21:09:30 -0800
committerWei Wang <wvw@google.com>2017-03-01 15:08:17 -0800
commit25dbc28dc8e037a4a840c654c9ed559d2008323b (patch)
tree370116198d4e98b02bd02e45957dcba8ecc2a4d3 /service
parent3a7ec4c5abde2d025b368bbfc5478ce3da8502af (diff)
wifi-events.rc: set property override properly
Bug: 35803475 Test: wifi trace enabled on marlin Change-Id: I6e6042916641eacc5ffc18883a96121e1df295f4
Diffstat (limited to 'service')
-rw-r--r--service/wifi-events.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/wifi-events.rc b/service/wifi-events.rc
index cf1a9008e..b4b093441 100644
--- a/service/wifi-events.rc
+++ b/service/wifi-events.rc
@@ -59,6 +59,6 @@ on property:sys.boot_completed=1 && property:sys.wifitracing.started=0
chmod 600 /sys/kernel/debug/tracing/instances/wifi/trace
setprop sys.wifitracing.started 1
-on property:sys.boot_completed=1 && property:wifi.interface=*
+on property:sys.boot_completed=1 && property:wifi.interface=* && sys.wifitracing.started=1
# Override default value.
write /sys/kernel/debug/tracing/instances/wifi/events/net/filter name==${wifi.interface}