diff options
author | Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com> | 2014-06-09 17:28:09 +0300 |
---|---|---|
committer | Szymon Janc <szymon.janc@tieto.com> | 2014-06-10 14:56:29 +0200 |
commit | 73aa8b84117b7de6eeb3dc01d80db650d38bf0bc (patch) | |
tree | 142a93accbee855f8d96ac24ec1c71bc79d8a6bf /android/hal-health.c | |
parent | 8801bcae451de24a79c1452ed1ad7dd500b13005 (diff) | |
download | bluez-73aa8b84117b7de6eeb3dc01d80db650d38bf0bc.tar.gz |
android/hal-msg: Add application id to mdep config cmd struct
Register application cmd is fragmented into application and multiple
MDEP configurations data. Passing app id helps to find which mdep data
belongs to which registered application.
Diffstat (limited to 'android/hal-health.c')
-rw-r--r-- | android/hal-health.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/hal-health.c b/android/hal-health.c index 8e739057a..ae327b884 100644 --- a/android/hal-health.c +++ b/android/hal-health.c @@ -100,6 +100,7 @@ static bt_status_t register_application(bthl_reg_param_t *reg, int *app_id) for (i = 0; i < reg->number_of_mdeps; i++) { memset(buf, 0, IPC_MTU); + mdep->app_id = rsp.app_id; mdep->role = reg->mdep_cfg[i].mdep_role; mdep->data_type = reg->mdep_cfg[i].data_type; mdep->channel_type = reg->mdep_cfg[i].channel_type; |