Return-Path: MIME-Version: 1.0 In-Reply-To: <2d5a2c100906250614k798239b9v901166c2382a6b1c@mail.gmail.com> References: <2d5a2c100906090617m167d3815pae998d06bdbd6646@mail.gmail.com> <1245611096.15367.76.camel@violet> <2d5a2c100906221449y6e37cb19x1bc27085bac318f4@mail.gmail.com> <2d5a2c100906221608v5e3e3d8aydf66b13826ad88fa@mail.gmail.com> <2d5a2c100906230651m679ccfat5bf4bfb20c130955@mail.gmail.com> <1245768036.15367.78.camel@violet> <20090623200401.6c7e5ea6@stoetzler> <2d5a2c100906231113p23a7249u13de2ecd2a0d5482@mail.gmail.com> <2d5a2c100906231156w72a0e69dqfa6c197bfb1d5674@mail.gmail.com> <2d5a2c100906250614k798239b9v901166c2382a6b1c@mail.gmail.com> Date: Tue, 30 Jun 2009 17:18:35 -0300 Message-ID: <2d5a2c100906301318o1103e3fdna8f9ef48de2eed82@mail.gmail.com> Subject: Re: regression introduced on v2.6.30-rc1 From: Luiz Augusto von Dentz To: Stefan Seyfried Cc: linux-bluetooth@vger.kernel.org, Marcel Holtmann Content-Type: multipart/mixed; boundary=0016364ee4e6e26ba5046d9682e5 List-ID: --0016364ee4e6e26ba5046d9682e5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Another update now fixing oopses by calling rfcomm_clear_session_timer on rfcomm_session_del. On Thu, Jun 25, 2009 at 10:14 AM, Luiz Augusto von Dentz wrote: > Patch now against updated bluetooth-testing > > -- > Luiz Augusto von Dentz > Engenheiro de Computa=E7=E3o > --=20 Luiz Augusto von Dentz Engenheiro de Computa=E7=E3o --0016364ee4e6e26ba5046d9682e5 Content-Type: text/x-diff; charset=US-ASCII; name="0001-bluetooth-Fix-rejected-connection-not-disconnecting-.patch" Content-Disposition: attachment; filename="0001-bluetooth-Fix-rejected-connection-not-disconnecting-.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_fwl28uc41 RnJvbSA2MDk5MTRhYThiYTJjOWM5YTJhNzQwMDRlMWNmNj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