Skip to content

Commit

Permalink
service: Remove additional network state check
Browse files Browse the repository at this point in the history
Network state indication is tracked with
__connman_service_ipconfig_indicate_state().
  • Loading branch information
pfl authored and LaakkonenJussi committed Mar 12, 2021
1 parent 76fb18d commit 62ca0e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions connman/src/service.c
Expand Up @@ -1460,8 +1460,6 @@ static bool is_connecting_state(struct connman_service *service,
case CONNMAN_SERVICE_STATE_UNKNOWN:
case CONNMAN_SERVICE_STATE_IDLE:
case CONNMAN_SERVICE_STATE_FAILURE:
if (service->network)
return connman_network_get_connecting(service->network);
case CONNMAN_SERVICE_STATE_DISCONNECT:
case CONNMAN_SERVICE_STATE_READY:
case CONNMAN_SERVICE_STATE_ONLINE:
Expand Down

0 comments on commit 62ca0e8

Please sign in to comment.