diff options
Diffstat (limited to 'src/service.c')
-rw-r--r-- | src/service.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index 712aa9ad..b85e6046 100644 --- a/src/service.c +++ b/src/service.c @@ -4932,8 +4932,9 @@ static int service_update_preferred_order(struct connman_service *default_servic return -EALREADY; if (new_service->type == tech_array[i]) { - switch_default_service(new_service, - default_service); + switch_default_service(default_service, + new_service); + __connman_connection_update_gateway(); return 0; } } |