On Fri, 10 Jun 2011 14:58:50 +0900, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c > index 2f5ae53..b309f84 100644 > --- a/net/bluetooth/hci_conn.c > +++ b/net/bluetooth/hci_conn.c > @@ -673,8 +673,8 @@ auth: > if (test_and_set_bit(HCI_CONN_ENCRYPT_PEND, &conn->pend)) > return 0; > > - hci_conn_auth(conn, sec_level, auth_type); > - return 0; > + if (!(hci_conn_auth(conn, sec_level, auth_type))) > + return 0; > > encrypt: > if (conn->link_mode & HCI_LM_ENCRYPT) That makes the first connection afer boot succeed, but subsequent connections fail in the same way. -- keith.packard@xxxxxxxxx
Attachment:
pgp3JHUDJkauX.pgp
Description: PGP signature