Fixed the case where the ConnMan is changed to Idle state without going through Disconnect state in Connected state.
* Disconnect state indicates that it is going to terminate the current connection and will return to the Idle state.
Change-Id: I81becdd043d599df4257d30c94ce2a2038f72b2d
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
connman_warn("ipconfig state %d ipconfig method %d",
new_state, method);
+#if defined TIZEN_EXT
+ if (old_state != CONNMAN_SERVICE_STATE_READY &&
+ old_state != CONNMAN_SERVICE_STATE_ONLINE)
+#endif
new_state = CONNMAN_SERVICE_STATE_IDLE;
break;