Skip to content
Commit f6480db9 authored by Lingao Meng's avatar Lingao Meng Committed by Alberto Escolar
Browse files

samples: bluetooth: Fixes `bt_hci_cmd_send_sync` API usage



If func:`bt_hci_cmd_send_sync` return no-zero value, indicate
that `cmd(buf)->status` not zero, in this condition, rsp not
to assign anything, so remove it.

Signed-off-by: default avatarLingao Meng <menglingao@xiaomi.com>
parent b11c43cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment