summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-08-20 11:46:28 +0930
committerAndrew Jeffery <andrew@aj.id.au>2018-09-14 16:50:28 +0930
commit2ebfd20f349b84313d2161afa313f1f579fc6965 (patch)
tree2d6fd6fcb5841e109a79fae5b29fca7d7c7abb97 /test
parent23a48212475a61c198cef08ad15c0a348d8d1d02 (diff)
downloadphosphor-mboxbridge-2ebfd20f349b84313d2161afa313f1f579fc6965.tar.gz
phosphor-mboxbridge-2ebfd20f349b84313d2161afa313f1f579fc6965.zip
daemon: Remove the concept of triggering or suppressing events
Rather, trigger them (or not) as necessary in the relevant code-paths. This ensures that any call to one of protocol_events_{set,clear}() actually has a consequence that we can set about dealing with in the transport layer. Change-Id: If64733fa53ed9def0da8330c99cbe48327bab934 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test')
-rw-r--r--test/bmc_event_ack_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bmc_event_ack_v2.c b/test/bmc_event_ack_v2.c
index 51f026e..719c27b 100644
--- a/test/bmc_event_ack_v2.c
+++ b/test/bmc_event_ack_v2.c
@@ -50,7 +50,7 @@ int main(void)
rc = mbox_command_dispatch(ctx, get_info, sizeof(get_info));
assert(rc == 1);
- protocol_events_set(ctx, FLAGS, EVENT_TRIGGER);
+ protocol_events_set(ctx, FLAGS);
rc = mbox_command_dispatch(ctx, command, sizeof(command));
assert(rc == 1);
OpenPOWER on IntegriCloud