mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
sm: use NULL
This commit is contained in:
parent
f29c10235a
commit
6643d79baa
@ -3742,7 +3742,7 @@ static void sm_handle_random_result_ir(void *arg){
|
|||||||
|
|
||||||
static void sm_handle_random_result_er(void *arg){
|
static void sm_handle_random_result_er(void *arg){
|
||||||
sm_persistent_keys_random_active = false;
|
sm_persistent_keys_random_active = false;
|
||||||
if (arg != 0){
|
if (arg != NULL){
|
||||||
// key generated, store in tlv
|
// key generated, store in tlv
|
||||||
int status = sm_tlv_impl->store_tag(sm_tlv_context, BTSTACK_TAG32('S','M','E','R'), sm_persistent_er, 16u);
|
int status = sm_tlv_impl->store_tag(sm_tlv_context, BTSTACK_TAG32('S','M','E','R'), sm_persistent_er, 16u);
|
||||||
log_info("Generated ER key. Store in TLV status: %d", status);
|
log_info("Generated ER key. Store in TLV status: %d", status);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user