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 <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2017-05-13 06:02:24 +02:00 committed by Johan Hedberg
commit a891415d97

View file

@ -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);