diff --git a/headers/private/bluetooth/bluetoothserver_p.h b/headers/private/bluetooth/bluetoothserver_p.h index d74a2561f7..3bfedb20da 100644 --- a/headers/private/bluetooth/bluetoothserver_p.h +++ b/headers/private/bluetooth/bluetoothserver_p.h @@ -8,7 +8,7 @@ // LocalDevice #define BT_MSG_COUNT_LOCAL_DEVICES 'btCd' -#define BT_MSG_ADQUIRE_LOCAL_DEVICE 'btAd' +#define BT_MSG_ACQUIRE_LOCAL_DEVICE 'btAd' #define BT_MSG_GET_FRIENDLY_NAME 'btFn' #define BT_MSG_GET_ADDRESS 'btGa' #define BT_MSG_HANDLE_SIMPLE_REQUEST 'btsR' diff --git a/src/kits/bluetooth/LocalDevice.cpp b/src/kits/bluetooth/LocalDevice.cpp index 58dd793e36..ac5a331501 100644 --- a/src/kits/bluetooth/LocalDevice.cpp +++ b/src/kits/bluetooth/LocalDevice.cpp @@ -70,7 +70,7 @@ LocalDevice::GetLocalDevice() if (SRetrieveBluetoothMessenger() != B_OK) return NULL; - BMessage request(BT_MSG_ADQUIRE_LOCAL_DEVICE); + BMessage request(BT_MSG_ACQUIRE_LOCAL_DEVICE); return RequestLocalDeviceID(&request); } @@ -82,7 +82,7 @@ LocalDevice::GetLocalDevice(hci_id hid) if (SRetrieveBluetoothMessenger() != B_OK) return NULL; - BMessage request(BT_MSG_ADQUIRE_LOCAL_DEVICE); + BMessage request(BT_MSG_ACQUIRE_LOCAL_DEVICE); request.AddInt32("hci_id", hid); return RequestLocalDeviceID(&request); @@ -96,7 +96,7 @@ LocalDevice::GetLocalDevice(bdaddr_t bdaddr) if (SRetrieveBluetoothMessenger() != B_OK) return NULL; - BMessage request(BT_MSG_ADQUIRE_LOCAL_DEVICE); + BMessage request(BT_MSG_ACQUIRE_LOCAL_DEVICE); request.AddData("bdaddr", B_ANY_TYPE, &bdaddr, sizeof(bdaddr_t)); diff --git a/src/servers/bluetooth/BluetoothServer.cpp b/src/servers/bluetooth/BluetoothServer.cpp index 0915a9294d..ca2bb1f924 100644 --- a/src/servers/bluetooth/BluetoothServer.cpp +++ b/src/servers/bluetooth/BluetoothServer.cpp @@ -141,7 +141,7 @@ void BluetoothServer::MessageReceived(BMessage *message) status = HandleLocalDevicesCount(message, &reply); break; - case BT_MSG_ADQUIRE_LOCAL_DEVICE: + case BT_MSG_ACQUIRE_LOCAL_DEVICE: status = HandleAcquireLocalDevice(message, &reply); break;