From 6996619399aeffd7b65d391411332731bc0aacf7 Mon Sep 17 00:00:00 2001 From: Vinayak Chettimada Date: Sun, 25 Dec 2016 17:39:37 +0100 Subject: [PATCH] Bluetooth: Controller: use BT_WARN to display unknown rsp Use BT_WARN instead of BT_ASSERT to display unknown rsp in HCI layer. Change-id: I63c792468d9c4768f69df73395ee026a03521704 Signed-off-by: Vinayak Chettimada --- subsys/bluetooth/controller/hci/hci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 622aa519914..ff8696139b6 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -1169,7 +1169,8 @@ static void le_unknown_rsp(struct pdu_data *pdu_data, uint16_t handle, break; default: - BT_ASSERT(0); + BT_WARN("type: 0x%02x", + pdu_data->payload.llctrl.ctrldata.unknown_rsp.type); break; } }