Skip to content

Commit

Permalink
[usb_moded] Add missing ifdef for connman
Browse files Browse the repository at this point in the history
There was some debug messages left for connman that was not ifdef'ed,
this adds those.
  • Loading branch information
mariogrip committed Aug 28, 2020
1 parent 778c4f7 commit 2fdf55e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/usb_moded-modesetting.c
Expand Up @@ -725,7 +725,9 @@ bool modesetting_enter_dynamic_mode(void)

log_debug("data->mode_name = %s", data->mode_name);
log_debug("data->mass_storage = %d", data->mass_storage);
#ifdef CONNMAN
log_debug("data->connman_tethering = %s", data->connman_tethering ?: "n/a");
#endif
log_debug("data->appsync = %d", data->appsync);
log_debug("data->network = %d", data->network);
log_debug("data->network_interface = %s", data->network_interface ?: "n/a");
Expand Down Expand Up @@ -888,7 +890,9 @@ void modesetting_leave_dynamic_mode(void)
}

log_debug("data->mass_storage = %d", data->mass_storage);
#ifdef CONNMAN
log_debug("data->connman_tethering = %s", data->connman_tethering ?: "n/a");
#endif
log_debug("data->appsync = %d", data->appsync);
log_debug("data->network = %d", data->network);

Expand Down

0 comments on commit 2fdf55e

Please sign in to comment.