service: Call __connman_agent_report_error when a service fails to connect
authorPatrik Flykt <patrik.flykt@nokia.com>
Thu, 2 Dec 2010 14:09:15 +0000 (16:09 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 2 Dec 2010 15:48:11 +0000 (16:48 +0100)
commit164c97cf932c31b6de2ed94f583daebe20b88dfc
tree6e00005b060b0cd1a57e56eb3736dbc5075f170c
parent7f5e9f73abe64c790d75e92b775eb7f040a8ffe3
service: Call __connman_agent_report_error when a service fails to connect

When a service fails, call __connman_agent_report_error to send an
ReportError method call to the agent. Sending of ReportError is requested
only if the service was connected due to a D-Bus request. Thus automatic
connection creation will be done silently without invoking an agent.
src/service.c