mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 19:20:54 +00:00
hci: fix re-connect to device for deprecated gap_auto_connection_start
This commit is contained in:
parent
eba721003f
commit
63f2efc94d
@ -5422,7 +5422,7 @@ uint8_t gap_auto_connection_start(bd_addr_type_t address_type, bd_addr_t address
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint8_t status = hci_whitelist_add(address_type, address);
|
uint8_t status = hci_whitelist_add(address_type, address);
|
||||||
if (status != ERROR_CODE_SUCCESS) {
|
if (status == BTSTACK_MEMORY_ALLOC_FAILED) {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user