projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
730cc6e
)
service: Restore error clearing on Agent reply
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 20 Aug 2012 09:29:08 +0000
(12:29 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Mon, 20 Aug 2012 09:53:53 +0000
(12:53 +0300)
If the invalid key error is not cleared on Agent reply, the
service cannot be reconnected.
src/service.c
patch
|
blob
|
history
diff --git
a/src/service.c
b/src/service.c
index
adcfb64
..
99fd319
100644
(file)
--- a/
src/service.c
+++ b/
src/service.c
@@
-4790,6
+4790,9
@@
static void request_input_cb (struct connman_service *service,
done:
if (err >= 0) {
+ /* We forget any previous error. */
+ set_error(service, CONNMAN_SERVICE_ERROR_UNKNOWN);
+
__connman_service_connect(service);
/* Never cache agent provided credentials */