diff options
author | dimitri staessens <[email protected]> | 2017-08-21 18:42:11 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2017-08-22 09:12:39 +0200 |
commit | 198b70909a337698520455a063e46b1fa6c12aa0 (patch) | |
tree | 16272d639a2d7c88937536a09baa6e78bf316409 /src/ipcpd/normal/main.c | |
parent | 5b242e7207483860143d3c84438134430ac1448f (diff) | |
download | ouroboros-198b70909a337698520455a063e46b1fa6c12aa0.tar.gz ouroboros-198b70909a337698520455a063e46b1fa6c12aa0.zip |
ipcpd: Improve locking in connmgr
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r-- | src/ipcpd/normal/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c index 95b0ed56..53762415 100644 --- a/src/ipcpd/normal/main.c +++ b/src/ipcpd/normal/main.c @@ -159,6 +159,7 @@ static int boot_components(void) ipcp_set_state(IPCP_OPERATIONAL); if (connmgr_start()) { + ipcp_set_state(IPCP_INIT); log_err("Failed to start AP connection manager."); goto fail_connmgr_start; } @@ -166,7 +167,6 @@ static int boot_components(void) return 0; fail_connmgr_start: - ipcp_set_state(IPCP_INIT); enroll_stop(); fail_enroll_start: dir_fini(); |