diff options
author | Ganesh Ganapathi Batta <ganeshg@broadcom.com> | 2012-08-30 19:37:13 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-09-04 16:31:24 -0700 |
commit | 9d8a5acb9bcecdb571aedcc3645940c0e9c2e314 (patch) | |
tree | db56b89b672acbca03382f42172b70262e05f3ea /btif | |
parent | 4882543f50e87ce8b09b75ce8d14ebd10fef7635 (diff) | |
download | external_bluetooth_bluedroid-9d8a5acb9bcecdb571aedcc3645940c0e9c2e314.zip external_bluetooth_bluedroid-9d8a5acb9bcecdb571aedcc3645940c0e9c2e314.tar.gz external_bluetooth_bluedroid-9d8a5acb9bcecdb571aedcc3645940c0e9c2e314.tar.bz2 |
Send proper length while retrieving local name during BT Enable
Bug: 7093571
Change-Id: I328b0a24ffa827a5a7d22f90ee8d476bd151675e
Diffstat (limited to 'btif')
-rwxr-xr-x | btif/src/btif_dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c index 062ac59..b5cac5d 100755 --- a/btif/src/btif_dm.c +++ b/btif/src/btif_dm.c @@ -1123,7 +1123,7 @@ static void btif_dm_upstreams_evt(UINT16 event, char* p_param) bt_status_t status; bt_property_t prop; prop.type = BT_PROPERTY_BDNAME; - prop.len = 0; + prop.len = BD_NAME_LEN; prop.val = (void*)bdname; status = btif_storage_get_adapter_property(&prop); |