summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbtif/src/btif_dm.c2
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);