Thread (7 messages) 7 messages, 3 authors, 2012-08-21

Re: [PATCH] Bluetooth: debug: Correct the PSM printing

From: Syam Sidhardhan <hidden>
Date: 2012-08-13 14:37:08

Hi,

----- Original Message ----- 
From: "Andrei Emeltchenko" <redacted>
To: "Syam Sidhardhan" <redacted>
Cc: <redacted>; <redacted>
Sent: Monday, August 06, 2012 3:16 PM
Subject: Re: [PATCH] Bluetooth: debug: Correct the PSM printing

Hi Syam,

On Fri, Jul 27, 2012 at 11:51:22PM +0530, Syam Sidhardhan wrote:
quoted
Earlier we were printing chan->psm before assigning any value.

Signed-off-by: Syam Sidhardhan <redacted>
Acked-by: Andrei Emeltchenko <redacted>
quoted
---
 net/bluetooth/l2cap_core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index bedc960..0912a63 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -1447,7 +1447,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)
-- 
1.7.4.1
ping..

Regards,
Syam 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help