提交 ab19516a 编写于 作者: S Syam Sidhardhan 提交者: Gustavo Padovan

Bluetooth: debug: Correct the PSM printing

Earlier we were printing chan->psm before assigning any value.
Signed-off-by: NSyam Sidhardhan <s.syam@samsung.com>
Acked-by: NAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: NGustavo Padovan <gustavo.padovan@collabora.co.uk>
上级 f0d6a0ea
......@@ -1446,7 +1446,7 @@ int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
int err;
BT_DBG("%s -> %s (type %u) psm 0x%2.2x", batostr(src), batostr(dst),
dst_type, __le16_to_cpu(chan->psm));
dst_type, __le16_to_cpu(psm));
hdev = hci_get_route(dst, src);
if (!hdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册