summaryrefslogtreecommitdiffstats
path: root/src/low-can-binding.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-20 09:11:58 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-20 09:11:58 +0000
commit1125764a8811a51df4a9ffb2fe482259ceea4165 (patch)
tree69403bc0ee05d0f495f76dd9be6a6661e9517e81 /src/low-can-binding.cpp
parentc0fd6e1982353d056c26a292186ef0df315adde3 (diff)
Make error goes back to the subscribed clients when unsupported.
Change-Id: Ic864803c8dffdab3cc9bf5bf281ce032600a732f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/low-can-binding.cpp')
-rw-r--r--src/low-can-binding.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/low-can-binding.cpp b/src/low-can-binding.cpp
index 45213d91..ed1aa34c 100644
--- a/src/low-can-binding.cpp
+++ b/src/low-can-binding.cpp
@@ -147,7 +147,6 @@ static int subscribe_unsubscribe_signals(struct afb_req request, bool subscribe,
}
else
{
- found.front()->set_supported(false);
configuration_t::instance().get_diagnostic_manager().cleanup_request(
configuration_t::instance().get_diagnostic_manager().find_recurring_request(diag_req), true);
DEBUG(binder_interface, "Signal: %s isn't supported. Canceling operation.", sig.c_str());