bluez: fix incorrect error code comparing Bluetooth connections

C&P error in my commit 4674f10399.
This commit is contained in:
Dan Williams 2014-05-30 09:35:42 -05:00
parent 00a6f9dcf9
commit a03a76ea60

View file

@ -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;
}