Return-Path: Date: Tue, 21 Sep 2010 09:05:55 +0300 From: Ville Tervo To: ext haijun liu Cc: "linux-bluetooth@vger.kernel.org" , "dantian.ip" Subject: Re: [PATCH 2/2] Bluetooth: Update conf_state before send config_req out. Message-ID: <20100921060555.GD17820@null> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: On Mon, Sep 20, 2010 at 03:33:31AM +0200, ext haijun liu wrote: > Update conf_state with L2CAP_CONF_REQ_SENT before send config_req out. > > > Signed-off-by: Haijun.Liu Acked-by: Ville Tervo > --- > net/bluetooth/l2cap.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c > index 076d1af..9d1225d 100644 > --- a/net/bluetooth/l2cap.c > +++ b/net/bluetooth/l2cap.c > @@ -3164,6 +3164,7 @@ static inline int l2cap_config_req(struct > l2cap_conn *conn, struct l2cap_cmd_hdr > u8 buf[64]; > + l2cap_pi(sk)->conf_state |= L2CAP_CONF_REQ_SENT; > l2cap_send_cmd(conn, l2cap_get_ident(conn), L2CAP_CONF_REQ, > l2cap_build_conf_req(sk, buf), buf); > l2cap_pi(sk)->num_conf_req++; > } > > -- > 1.6.3.3 > > > -- > Haijun Liu > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html