From e8248689762593c3efd03da239303f1aceb1f81a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 10 Jun 2016 16:56:03 +0200 Subject: [PATCH] network: Re-set the SSID when enabling the Hotspot Instead of expecting the hostname to stay the same. https://bugzilla.gnome.org/show_bug.cgi?id=705546 --- panels/network/net-device-wifi.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c index 73aa69d56..f6b35ba27 100644 --- a/panels/network/net-device-wifi.c +++ b/panels/network/net-device-wifi.c @@ -1058,6 +1058,10 @@ start_shared_connection (NetDeviceWifi *device_wifi) client = net_object_get_client (NET_OBJECT (device_wifi)); if (c != NULL) { + NMSettingWireless *sw; + + sw = nm_connection_get_setting_wireless (c); + g_object_set (sw, "ssid", ssid, NULL); g_bytes_unref (ssid); g_debug ("activate existing hotspot connection\n");