On Mon, 2014-02-10 at 10:51 +0100, Stanislaw Gruszka wrote:
Without this patch I can not setup new hotspot connection. --- src/nm-manager.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/nm-manager.c b/src/nm-manager.c index ef86292..58caf37 100644 --- a/src/nm-manager.c +++ b/src/nm-manager.c @@ -3407,6 +3407,12 @@ impl_manager_add_and_activate_connection (NMManager *self, NMDevice *device = NULL; gboolean vpn = FALSE; + /* Normalize object paths */ + if (g_strcmp0 (specific_object_path, "/") == 0) + specific_object_path = NULL; + if (g_strcmp0 (device_path, "/") == 0) + device_path = NULL; + /* Try to create a new connection with the given settings. * We allow empty settings for AddAndActivateConnection(). In that case, * the connection will be completed in nm_utils_complete_generic() or
Hi Stanislaw, applied as http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=0cb256f5d7828d33532d3ea29c51174a1c87a135 Thanks!! Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part