diff options
author | Pekka Pessi <Pekka.Pessi@nokia.com> | 2011-01-26 16:50:36 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-27 11:07:55 +0100 |
commit | decb6cbdb3529be7ff16f445c9c791133872203e (patch) | |
tree | d6392a32b9e680ba87ffa18d08c7f23c3f9e0694 /include | |
parent | 34e443e71e5c3c96fe9a29ca3f92e9769ab3ea69 (diff) | |
download | connman-decb6cbdb3529be7ff16f445c9c791133872203e.tar.gz connman-decb6cbdb3529be7ff16f445c9c791133872203e.tar.bz2 connman-decb6cbdb3529be7ff16f445c9c791133872203e.zip |
network: Add connman_network_clear_error()
Clear the error on corresponding service (and set reconnect) in order to
retry autoconnecting.
Diffstat (limited to 'include')
-rw-r--r-- | include/network.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h index a2b768b4..0266b5e9 100644 --- a/include/network.h +++ b/include/network.h @@ -83,6 +83,7 @@ int connman_network_set_associating(struct connman_network *network, connman_bool_t associating); void connman_network_set_error(struct connman_network *network, enum connman_network_error error); +void connman_network_clear_error(struct connman_network *network); int connman_network_set_connected(struct connman_network *network, connman_bool_t connected); connman_bool_t connman_network_get_connected(struct connman_network *network); |