* Gustavo F. Padovan <padovan@xxxxxxxxxxxxxx> [2011-01-26 15:18:15 -0200]: > Hi Bao, > > * tim.bao@xxxxxxxxx <tim.bao@xxxxxxxxx> [2011-01-19 21:22:09 +0800]: > > > From: Bao Liang <tim.bao@xxxxxxxxx> > > > > This patch fixes a minor issue that two connection responses will be sent > > for one L2CAP connection request. If the L2CAP connection request is first > > blocked due to security reason and responded with reason "security block", > > the state of the connection remains BT_CONNECT2. If a pairing procedure > > completes successfully before the ACL connection is down, local host will > > send another connection complete response. See the following packets > > captured by hcidump. > > > > 2010-12-07 22:21:24.928096 < ACL data: handle 12 flags 0x00 dlen 16 > > 0000: 0c 00 01 00 03 19 08 00 41 00 53 00 03 00 00 00 ........A.S..... > > ... ... > > > > 2010-12-07 22:21:35.791747 > HCI Event: Auth Complete (0x06) plen 3 > > status 0x00 handle 12 > > ... ... > > > > 2010-12-07 22:21:35.872372 > ACL data: handle 12 flags 0x02 dlen 16 > > L2CAP(s): Connect rsp: dcid 0x0054 scid 0x0040 result 0 status 0 > > Connection successful > > --- > > net/bluetooth/l2cap.c | 5 +++-- > > 1 files changed, 3 insertions(+), 2 deletions(-) > > Patch has been applied. Thanks. I had to revert it, your patch doesn't have a Signed-off-by: line. Please send me that. -- Gustavo F. Padovan http://profusion.mobi -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html