Correct misspell adquire->acquire
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24384 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
// LocalDevice
|
// LocalDevice
|
||||||
#define BT_MSG_COUNT_LOCAL_DEVICES 'btCd'
|
#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_FRIENDLY_NAME 'btFn'
|
||||||
#define BT_MSG_GET_ADDRESS 'btGa'
|
#define BT_MSG_GET_ADDRESS 'btGa'
|
||||||
#define BT_MSG_HANDLE_SIMPLE_REQUEST 'btsR'
|
#define BT_MSG_HANDLE_SIMPLE_REQUEST 'btsR'
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ LocalDevice::GetLocalDevice()
|
|||||||
if (SRetrieveBluetoothMessenger() != B_OK)
|
if (SRetrieveBluetoothMessenger() != B_OK)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
BMessage request(BT_MSG_ADQUIRE_LOCAL_DEVICE);
|
BMessage request(BT_MSG_ACQUIRE_LOCAL_DEVICE);
|
||||||
|
|
||||||
return RequestLocalDeviceID(&request);
|
return RequestLocalDeviceID(&request);
|
||||||
}
|
}
|
||||||
@@ -82,7 +82,7 @@ LocalDevice::GetLocalDevice(hci_id hid)
|
|||||||
if (SRetrieveBluetoothMessenger() != B_OK)
|
if (SRetrieveBluetoothMessenger() != B_OK)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
BMessage request(BT_MSG_ADQUIRE_LOCAL_DEVICE);
|
BMessage request(BT_MSG_ACQUIRE_LOCAL_DEVICE);
|
||||||
request.AddInt32("hci_id", hid);
|
request.AddInt32("hci_id", hid);
|
||||||
|
|
||||||
return RequestLocalDeviceID(&request);
|
return RequestLocalDeviceID(&request);
|
||||||
@@ -96,7 +96,7 @@ LocalDevice::GetLocalDevice(bdaddr_t bdaddr)
|
|||||||
if (SRetrieveBluetoothMessenger() != B_OK)
|
if (SRetrieveBluetoothMessenger() != B_OK)
|
||||||
return NULL;
|
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));
|
request.AddData("bdaddr", B_ANY_TYPE, &bdaddr, sizeof(bdaddr_t));
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -141,7 +141,7 @@ void BluetoothServer::MessageReceived(BMessage *message)
|
|||||||
status = HandleLocalDevicesCount(message, &reply);
|
status = HandleLocalDevicesCount(message, &reply);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BT_MSG_ADQUIRE_LOCAL_DEVICE:
|
case BT_MSG_ACQUIRE_LOCAL_DEVICE:
|
||||||
status = HandleAcquireLocalDevice(message, &reply);
|
status = HandleAcquireLocalDevice(message, &reply);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user