diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-19 00:58:36 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-19 00:58:36 +0200 |
commit | 79fdddccbfccd50f2c4d98d90fc707061c39d1f5 (patch) | |
tree | 49e2eb7f44cf05b8d869ceeeebe0164c9a512ee8 /cli | |
parent | e123c7d5b43cd4fb63d7f1fbdb44fbb641e410ac (diff) |
api,modem: new 'PrimaryPort' property
We do need to specify which is the primary port being used for controlling the
modem. This allows us to match the device with an already existing bluetooth
device in NetworkManager.
Diffstat (limited to 'cli')
-rw-r--r-- | cli/mmcli-modem.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/mmcli-modem.c b/cli/mmcli-modem.c index 981421b6..154414b9 100644 --- a/cli/mmcli-modem.c +++ b/cli/mmcli-modem.c @@ -323,10 +323,12 @@ print_modem_info (void) g_print (" -------------------------\n" " System | device: '%s'\n" " | drivers: '%s'\n" - " | plugin: '%s'\n", + " | plugin: '%s'\n" + " | primary port: '%s'\n", VALIDATE_UNKNOWN (mm_modem_get_device (ctx->modem)), VALIDATE_UNKNOWN (drivers_string), - VALIDATE_UNKNOWN (mm_modem_get_plugin (ctx->modem))); + VALIDATE_UNKNOWN (mm_modem_get_plugin (ctx->modem)), + VALIDATE_UNKNOWN (mm_modem_get_primary_port (ctx->modem))); /* Numbers related stuff */ g_print (" -------------------------\n" |