|
|
2804ca |
From acb43106a919affe65eb736ebc798390396913cc Mon Sep 17 00:00:00 2001
|
|
|
2804ca |
From: Beniamino Galvani <bgalvani@redhat.com>
|
|
|
2804ca |
Date: Fri, 7 Sep 2018 09:33:57 +0200
|
|
|
2804ca |
Subject: [PATCH] core: fix wireless bitrate property name on D-Bus
|
|
|
2804ca |
|
|
|
2804ca |
In commit 297d4985abcc ("core/dbus: rework D-Bus implementation to use
|
|
|
2804ca |
lower layer GDBusConnection API") the Device.Wireless 'Bitrate'
|
|
|
2804ca |
property on D-Bus was accidentally changed to 'BitRate'. Revert the
|
|
|
2804ca |
old name.
|
|
|
2804ca |
|
|
|
2804ca |
Reported-by: Joseph Conley <joseph.j.conley@gmail.com>
|
|
|
2804ca |
Fixes: 297d4985abcc7b571b8c090ee90622357fc60e16
|
|
|
2804ca |
|
|
|
2804ca |
https://mail.gnome.org/archives/networkmanager-list/2018-September/msg00004.html
|
|
|
2804ca |
(cherry picked from commit c882633d48ad70d5c92ce0566a0f46dcbb5c51b3)
|
|
|
2804ca |
(cherry picked from commit 3a2c6f81f6b0a8dd38d45aa89fa7d6d1f897f149)
|
|
|
2804ca |
---
|
|
|
2804ca |
src/devices/wifi/nm-wifi-common.c | 2 +-
|
|
|
2804ca |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
2804ca |
|
|
|
2804ca |
diff --git a/src/devices/wifi/nm-wifi-common.c b/src/devices/wifi/nm-wifi-common.c
|
|
|
2804ca |
index 8e079d115..c95620e7f 100644
|
|
|
2804ca |
--- a/src/devices/wifi/nm-wifi-common.c
|
|
|
2804ca |
+++ b/src/devices/wifi/nm-wifi-common.c
|
|
|
2804ca |
@@ -196,7 +196,7 @@ const NMDBusInterfaceInfoExtended nm_interface_info_device_wireless = {
|
|
|
2804ca |
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("HwAddress", "s", NM_DEVICE_HW_ADDRESS),
|
|
|
2804ca |
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("PermHwAddress", "s", NM_DEVICE_PERM_HW_ADDRESS),
|
|
|
2804ca |
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("Mode", "u", NM_DEVICE_WIFI_MODE),
|
|
|
2804ca |
- NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("BitRate", "u", NM_DEVICE_WIFI_BITRATE),
|
|
|
2804ca |
+ NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("Bitrate", "u", NM_DEVICE_WIFI_BITRATE),
|
|
|
2804ca |
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("AccessPoints", "ao", NM_DEVICE_WIFI_ACCESS_POINTS),
|
|
|
2804ca |
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("ActiveAccessPoint", "o", NM_DEVICE_WIFI_ACTIVE_ACCESS_POINT),
|
|
|
2804ca |
NM_DEFINE_DBUS_PROPERTY_INFO_EXTENDED_READABLE_L ("WirelessCapabilities", "u", NM_DEVICE_WIFI_CAPABILITIES),
|
|
|
2804ca |
--
|
|
|
2804ca |
2.17.1
|
|
|
2804ca |
|