diff options
author | Syed Ibrahim M <syedibra@broadcom.com> | 2012-08-17 07:02:18 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-08-23 12:47:02 -0700 |
commit | 2d85ba49fc44bf713bd3e13aeb97f496196af4e3 (patch) | |
tree | 64e5ef34db063fd52301b72dc37f5469585d635e /bta | |
parent | 3cef628c3327479a58e37ae7a641e1c24f393fc8 (diff) | |
download | external_bluetooth_bluedroid-2d85ba49fc44bf713bd3e13aeb97f496196af4e3.zip external_bluetooth_bluedroid-2d85ba49fc44bf713bd3e13aeb97f496196af4e3.tar.gz external_bluetooth_bluedroid-2d85ba49fc44bf713bd3e13aeb97f496196af4e3.tar.bz2 |
Remove attr_mask field from BTA_HH_ADD_DEV_EVT cb
Remove attr_mask field from bta_hh_api.c and bta_hh_act.c for
BTA_HH_ADD_DEV_EVT callback as stack updates the attribute mask
to the stack callout function bta_hh_co_open()
Change-Id: I1e450a210a63359c7ae30551fd3c468f0e109fda
Diffstat (limited to 'bta')
-rwxr-xr-x[-rw-r--r--] | bta/hh/bta_hh_act.c | 3 | ||||
-rwxr-xr-x[-rw-r--r--] | bta/include/bta_hh_api.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/bta/hh/bta_hh_act.c b/bta/hh/bta_hh_act.c index 0b771ab..163597e 100644..100755 --- a/bta/hh/bta_hh_act.c +++ b/bta/hh/bta_hh_act.c @@ -873,14 +873,12 @@ void bta_hh_maint_dev_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data) p_dev_info->app_id); /* update cb_index[] map */ bta_hh_cb.cb_index[dev_handle] = p_cb->index; - dev_info.attr_mask = p_dev_info->attr_mask; } } else /* device already been added */ { dev_info.handle = p_cb->hid_handle; dev_info.status = BTA_HH_OK; - dev_info.attr_mask = p_dev_info->attr_mask; } #if BTA_HH_DEBUG bta_hh_trace_dev_db(); @@ -901,7 +899,6 @@ void bta_hh_maint_dev_act(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data) bta_hh_clean_up_kdev(p_cb); } } - dev_info.attr_mask = 0; /* Reset the attribute mask */ break; default: diff --git a/bta/include/bta_hh_api.h b/bta/include/bta_hh_api.h index 7be05db..dd9a528 100644..100755 --- a/bta/include/bta_hh_api.h +++ b/bta/include/bta_hh_api.h @@ -173,7 +173,6 @@ typedef struct BD_ADDR bda; /* HID device bd address */ tBTA_HH_STATUS status; /* operation status */ UINT8 handle; /* device handle */ - UINT16 attr_mask; /* HID Device attribute Mask*/ } tBTA_HH_CONN; typedef tBTA_HH_CONN tBTA_HH_DEV_INFO; |