summaryrefslogtreecommitdiff
path: root/android/hal-hidhost.c
diff options
context:
space:
mode:
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>2013-11-08 00:10:16 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2013-11-08 11:17:29 +0200
commit290f9826a5b8ea79e9bd95891fb6c3ec482a1a76 (patch)
treeaf447be2774dbd7a09f4bf1700608d8f0dcaf450 /android/hal-hidhost.c
parent79e90ad1b5a1104114ff54a42186e416bb04f668 (diff)
downloadbluez-290f9826a5b8ea79e9bd95891fb6c3ec482a1a76.tar.gz
android/hid: Rename virtual unplug define and struct
Renaming virtual unplug define and strcut name from VP to more meaning full.
Diffstat (limited to 'android/hal-hidhost.c')
-rw-r--r--android/hal-hidhost.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/android/hal-hidhost.c b/android/hal-hidhost.c
index 34f9f7760..94f7e016d 100644
--- a/android/hal-hidhost.c
+++ b/android/hal-hidhost.c
@@ -152,7 +152,7 @@ static bt_status_t disconnect(bt_bdaddr_t *bd_addr)
static bt_status_t virtual_unplug(bt_bdaddr_t *bd_addr)
{
- struct hal_cmd_hidhost_vp cmd;
+ struct hal_cmd_hidhost_virtual_unplug cmd;
DBG("");
@@ -164,7 +164,8 @@ static bt_status_t virtual_unplug(bt_bdaddr_t *bd_addr)
memcpy(cmd.bdaddr, bd_addr, sizeof(cmd.bdaddr));
- return hal_ipc_cmd(HAL_SERVICE_ID_HIDHOST, HAL_OP_HIDHOST_VP,
+ return hal_ipc_cmd(HAL_SERVICE_ID_HIDHOST,
+ HAL_OP_HIDHOST_VIRTUAL_UNPLUG,
sizeof(cmd), &cmd, 0, NULL, NULL);
}