Hi Andrei, On Mon, Jan 3, 2011 at 5:14 AM, Emeltchenko Andrei <Andrei.Emeltchenko.news@xxxxxxxxx> wrote: > diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c > index c791fcd..ff191b9 100644 > --- a/net/bluetooth/l2cap.c > +++ b/net/bluetooth/l2cap.c > @@ -362,13 +362,19 @@ static inline u8 l2cap_get_ident(struct l2cap_conn *conn) > static inline void l2cap_send_cmd(struct l2cap_conn *conn, u8 ident, u8 code, u16 len, void *data) > { > struct sk_buff *skb = l2cap_build_cmd(conn, code, ident, len, data); > + u8 flags; > > BT_DBG("code 0x%2.2x", code); > > if (!skb) > return; > > - hci_send_acl(conn->hcon, skb, 0); > + if (lmp_no_flush_capable(conn->hcon->hdev)) > + flags = ACL_START_NO_FLUSH; > + else > + flags = ACL_START; > + > + hci_send_acl(conn->hcon, skb, flags); > } Looks like you can't control the "no flush" flag here using the new BT_FLUSHABLE setsockopt() option. > @@ -414,7 +421,12 @@ static inline void l2cap_send_sframe(struct l2cap_pinfo *pi, u16 control) > put_unaligned_le16(fcs, skb_put(skb, 2)); > } > > - hci_send_acl(pi->conn->hcon, skb, 0); > + if (lmp_no_flush_capable(conn->hcon->hdev)) > + flags = ACL_START_NO_FLUSH; > + else > + flags = ACL_START; > + > + hci_send_acl(pi->conn->hcon, skb, flags); > } Same here. Regards, -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil -- 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