Return-Path: MIME-Version: 1.0 In-Reply-To: <1251885004.1266.57.camel@localhost.localdomain> References: <508e92ca0907020657o561effbeg1911f8f84af27f37@mail.gmail.com> <1251885004.1266.57.camel@localhost.localdomain> Date: Thu, 3 Sep 2009 12:55:02 +0300 Message-ID: <508e92ca0909030255g3dfd825dy5062458c7a5cafcb@mail.gmail.com> Subject: Re: [PATCH] SSP double paring fix: init auth_type with HCI_AT_GENERAL_BONDING From: Andrei Emeltchenko To: Marcel Holtmann Cc: linux-bluetooth@vger.kernel.org Content-Type: multipart/mixed; boundary=0016e6482b269ec0830472a9605f List-ID: --0016e6482b269ec0830472a9605f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Marcel, On Wed, Sep 2, 2009 at 12:50 PM, Marcel Holtmann wrote= : > Hi Andrei, > >> I have a simple patch which fixes issues with SSP mentioned below. >> >> --- >> =A0net/bluetooth/hci_conn.c | =A0 =A01 + >> =A01 files changed, 1 insertions(+), 0 deletions(-) >> >> diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c >> index fa47d5d..d863bda 100644 >> --- a/net/bluetooth/hci_conn.c >> +++ b/net/bluetooth/hci_conn.c >> @@ -211,6 +211,7 @@ struct hci_conn *hci_conn_add(struct hci_dev >> *hdev, int type, bdaddr_t *dst) >> =A0 =A0 =A0 conn->type =A0=3D type; >> =A0 =A0 =A0 conn->mode =A0=3D HCI_CM_ACTIVE; >> =A0 =A0 =A0 conn->state =3D BT_OPEN; >> + =A0 =A0 conn->auth_type =3D HCI_AT_GENERAL_BONDING; >> >> =A0 =A0 =A0 conn->power_save =3D 1; >> =A0 =A0 =A0 conn->disc_timeout =3D HCI_DISCONN_TIMEOUT; > > I need a proper patch create with git format-patch that contains a > detailed commit message. Please check patch attached. Regards, Andrei --0016e6482b269ec0830472a9605f Content-Type: application/x-gzip; name="0001-Bluetooth-Set-general-bonding-security-for-ACL-by-d.patch.gz" Content-Disposition: attachment; filename="0001-Bluetooth-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