[PATCH] libnm-glib Bluetooth device correction



Hello,
libnm-glib/nm-device-bt.c typo:

uses NM_DBUS_INTERFACE_DEVICE_WIRED interface instead of  
NM_DBUS_INTERFACE_DEVICE_BLUETOOTH

Jirka
diff --git a/libnm-glib/nm-device-bt.c b/libnm-glib/nm-device-bt.c
index 5792add..bb1ff66 100644
--- a/libnm-glib/nm-device-bt.c
+++ b/libnm-glib/nm-device-bt.c
@@ -95,7 +95,7 @@ nm_device_bt_get_hw_address (NMDeviceBt *device)
 	priv = NM_DEVICE_BT_GET_PRIVATE (device);
 	if (!priv->hw_address) {
 		priv->hw_address = _nm_object_get_string_property (NM_OBJECT (device),
-		                                                  NM_DBUS_INTERFACE_DEVICE_WIRED,
+		                                                  NM_DBUS_INTERFACE_DEVICE_BLUETOOTH,
 		                                                  DBUS_PROP_HW_ADDRESS);
 	}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]