mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 17:30:16 +01:00
libnm-util: fix NMDeviceBt hardware address property
This commit is contained in:
parent
de2205a24e
commit
7603f6dde4
1 changed files with 2 additions and 2 deletions
|
|
@ -95,8 +95,8 @@ 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,
|
||||
DBUS_PROP_HW_ADDRESS);
|
||||
NM_DBUS_INTERFACE_DEVICE_BLUETOOTH,
|
||||
DBUS_PROP_HW_ADDRESS);
|
||||
}
|
||||
|
||||
return priv->hw_address;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue