From a891415d977924ca5c9f99259d3768b033d4af11 Mon Sep 17 00:00:00 2001 From: Vinayak Kariappa Chettimada Date: Sat, 13 May 2017 06:02:24 +0200 Subject: [PATCH] Bluetooth: Print PHY update complete with status When HCI core debug is enabled, print PHY update complete with status on console. Signed-off-by: Vinayak Kariappa Chettimada --- subsys/bluetooth/host/hci_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/subsys/bluetooth/host/hci_core.c b/subsys/bluetooth/host/hci_core.c index f3a740dfa1d..64f58fca687 100644 --- a/subsys/bluetooth/host/hci_core.c +++ b/subsys/bluetooth/host/hci_core.c @@ -861,9 +861,8 @@ static void le_phy_update_complete(struct net_buf *buf) return; } - if (!evt->status) { - BT_DBG("PHY updated: tx: %u, rx: %u", evt->tx_phy, evt->rx_phy); - } + BT_DBG("PHY updated: status: 0x%x, tx: %u, rx: %u", + evt->status, evt->tx_phy, evt->rx_phy); update_conn_param(conn);