mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 15:20:11 +01:00
bluez: fix incorrect error code comparing Bluetooth connections
C&P error in my commit 4674f10399.
This commit is contained in:
parent
00a6f9dcf9
commit
a03a76ea60
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ check_connection_compatible (NMDevice *device,
|
|||
|
||||
if (memcmp (priv->bdaddr, array->data, ETH_ALEN) != 0) {
|
||||
g_set_error (error,
|
||||
NM_BT_ERROR, NM_BT_ERROR_CONNECTION_INVALID,
|
||||
NM_BT_ERROR, NM_BT_ERROR_CONNECTION_INCOMPATIBLE,
|
||||
"The connection did not match the device's Bluetooth address.");
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue