libmm-glib: always return all bearer properties

IPv6 may have addresses and other information even if the bearer's
method is DHCP.
This commit is contained in:
Dan Williams
2014-06-13 11:30:48 -05:00
parent ff4e45791d
commit 1e30bad174
+1 -4
View File
@@ -234,10 +234,7 @@ mm_bearer_ip_config_get_dictionary (MMBearerIpConfig *self)
g_variant_new_uint32 (self ?
self->priv->method :
MM_BEARER_IP_METHOD_UNKNOWN));
/* If static IP method, report remaining configuration */
if (self &&
self->priv->method == MM_BEARER_IP_METHOD_STATIC) {
if (self) {
if (self->priv->address)
g_variant_builder_add (&builder,
"{sv}",