On Wed, Feb 17, 2010 at 3:30 PM, Liejun Tao <liejuntao001@xxxxxxxxx> wrote: > Hi Marcel, > Beside the l2cap issue with Blackberry 8900, I meet another l2cap > connection failure issue when testing > PTS AVRCP_TC_TG_PTT_BV_01_I. > > For 8900, the sequence is: > l2cap_do_start(): send L2CAP_INFO_REQ > security_cfm(): send L2CAP_CONN_REQ > l2cap_information_rsp(): call l2cap_do_start(), send L2CAP_CONN_REQ again > > For PTS AVRCP_TC_TG_PTT_BV_01_I, the sequence is: > l2cap_do_start(): send L2CAP_CONN_REQ > security_cfm():send L2CAP_CONN_REQ again > l2cap_conn_rsp(): receive L2CAP_CR_PEND > l2cap_conn_rsp(): receive L2CAP_CR_NO_MEM > > In both cases, security_cfm() is called from hci_proto_encrypt_cfm(), > and interrupt the normal sequence of l2cap connection. > > security_cfm() is also called in hci_proto_auth_cfm. I feel auth_cfm > and encryption_cfm are for different events, why they call the same > function? > > What's your mind to avoid 2 connection request? > > Aside, should we set a state bit after send l2CAP_CONN_REQ? > Ping. Hi Marcel, Any idea how to resolve these 2 issues? -- 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