summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-09-07 09:33:57 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-09-07 09:40:09 +0200
commitc882633d48ad70d5c92ce0566a0f46dcbb5c51b3 (patch)
tree5416c93e4adb416c615c8c0e10e77bbdea30c86b /src/devices
parentf3f5d5c900b8891591eccf2f8e8f5cf3da0907a1 (diff)
downloadNetworkManager-c882633d48ad70d5c92ce0566a0f46dcbb5c51b3.tar.gz
core: fix wireless bitrate property name on D-Bus
In commit 297d4985abcc ("core/dbus: rework D-Bus implementation to use lower layer GDBusConnection API") the Device.Wireless 'Bitrate' property on D-Bus was accidentally changed to 'BitRate'. Revert the old name. Reported-by: Joseph Conley <joseph.j.conley@gmail.com> Fixes: 297d4985abcc7b571b8c090ee90622357fc60e16 https://mail.gnome.org/archives/networkmanager-list/2018-September/msg00004.html
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/wifi/nm-wifi-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/wifi/nm-wifi-common.c b/src/devices/wifi/nm-wifi-common.c
index 8e079d1151..c95620e7f7 100644
--- a/src/devices/wifi/nm-wifi-common.c
+++ b/src/devices/wifi/nm-wifi-common.c
@@ -196,7 +196,7 @@ const NMDBusInterfaceInfoExtended nm_interface_info_device_wireless = {
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("HwAddress", "s", NM_DEVICE_HW_ADDRESS),
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("PermHwAddress", "s", NM_DEVICE_PERM_HW_ADDRESS),
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("Mode", "u", NM_DEVICE_WIFI_MODE),
- NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("BitRate", "u", NM_DEVICE_WIFI_BITRATE),
+ NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("Bitrate", "u", NM_DEVICE_WIFI_BITRATE),
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("AccessPoints", "ao", NM_DEVICE_WIFI_ACCESS_POINTS),
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("ActiveAccessPoint", "o", NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT),
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("WirelessCapabilities", "u", NM_DEVICE_WIFI_CAPABILITIES),