wifi: set changed flag for max-rate in nm_wifi_ap_update_from_properties()

This commit is contained in:
Thomas Haller 2017-03-09 11:24:49 +01:00 committed by Beniamino Galvani
parent 6c534af4d7
commit 534a96d82a

View file

@ -848,7 +848,7 @@ nm_wifi_ap_update_from_properties (NMWifiAP *ap,
bytes = g_variant_get_fixed_array (v, &len, 1);
max_rate = get_max_rate (bytes, len);
if (max_rate > 0)
nm_wifi_ap_set_max_bitrate (ap, max_rate / 1000);
changed |= nm_wifi_ap_set_max_bitrate (ap, max_rate / 1000);
g_variant_unref (v);
}