zephyr/subsys/bluetooth
Luiz Augusto von Dentz 5fecf98c8e Bluetooth: L2CAP: Log state transitions
This adds a common function to log state transitions including the caller
function and line in case something goes wrong:

[bt] [DBG] bt_l2cap_chan_disconnect: (0x0011b14c) chan 0x001199c0 scid 0x0040 dcid 0x0040
[bt] [DBG] bt_l2cap_chan_set_state_debug: (0x0011b14c) chan 0x001199c0 psm 0x0080 connect -> disconnect
[bt] [WRN] bt_l2cap_chan_set_state_debug: bt_l2cap_chan_disconnect()1562: invalid transition

Change-Id: I246a9004a04d93a38b8c7f7633705f6c191698b2
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2016-11-04 22:06:31 +02:00
..
controller Bluetooth: Move controller code to subsys/bluetooth 2016-11-04 22:05:05 +02:00
host Bluetooth: L2CAP: Log state transitions 2016-11-04 22:06:31 +02:00
Kconfig Bluetooth: Move controller code to subsys/bluetooth 2016-11-04 22:05:05 +02:00
Makefile Bluetooth: Move controller code to subsys/bluetooth 2016-11-04 22:05:05 +02:00