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
This commit is contained in:
parent
bbdcaaa039
commit
e824868976
1 changed files with 4 additions and 0 deletions
|
@ -1058,6 +1058,10 @@ start_shared_connection (NetDeviceWifi *device_wifi)
|
||||||
|
|
||||||
client = net_object_get_client (NET_OBJECT (device_wifi));
|
client = net_object_get_client (NET_OBJECT (device_wifi));
|
||||||
if (c != NULL) {
|
if (c != NULL) {
|
||||||
|
NMSettingWireless *sw;
|
||||||
|
|
||||||
|
sw = nm_connection_get_setting_wireless (c);
|
||||||
|
g_object_set (sw, "ssid", ssid, NULL);
|
||||||
g_bytes_unref (ssid);
|
g_bytes_unref (ssid);
|
||||||
|
|
||||||
g_debug ("activate existing hotspot connection\n");
|
g_debug ("activate existing hotspot connection\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue