On Mon, Apr 02, 2012 at 01:44:56PM +0200, Daniel Wagner wrote: > From: Peter Hurley <[email protected]> > > Commit 330605423c fixed l2cap conn establishment for non-ssp remote > devices by not setting HCI_CONN_ENCRYPT_PEND every time conn security > is tested (which was always returning failure on any subsequent > security checks). > > However, this broke l2cap conn establishment for ssp remote devices > when an ACL link was already established at SDP-level security. This > fix ensures that encryption must be pending whenever authentication > is also pending. > > Signed-off-by: Peter Hurley <[email protected]> > Tested-by: Daniel Wagner <[email protected]> > Acked-by: Marcel Holtmann <[email protected]> > Signed-off-by: Johan Hedberg <[email protected]> > --- > > Hi Greg, > > v2: > > I am sorry for the previously baddly submitted request (again). > This time the author should also be correct. > > > v1: > > Here is a backported version of this patch. > > In order to apply this patch rename "flags" back to "pend" as > it was before 51a8efd "Bluetooth: Rename conn->pend to conn->flags". > > The patch should go to 3.0.y and 3.2.y. > 3.3.y contains the fix already so need to apply it there.
Now applied, thanks for providing the backport. greg k-h -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
