From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4109FC06510 for ; Tue, 2 Jul 2019 14:35:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2017D21479 for ; Tue, 2 Jul 2019 14:35:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726193AbfGBOfn convert rfc822-to-8bit (ORCPT ); Tue, 2 Jul 2019 10:35:43 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:39438 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbfGBOfn (ORCPT ); Tue, 2 Jul 2019 10:35:43 -0400 Received: from marcel-macpro.fritz.box (p4FEFC3D2.dip0.t-ipconnect.de [79.239.195.210]) by mail.holtmann.org (Postfix) with ESMTPSA id 4D2FFCF182; Tue, 2 Jul 2019 16:44:13 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH] Bluetooth: Fix minimum encryption key size check From: Marcel Holtmann In-Reply-To: <20190701111324.GA3906@ubuntu-18-04-beta2> Date: Tue, 2 Jul 2019 16:35:42 +0200 Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <46032330-EF82-4AD7-86D2-E4C84EB0B8C1@holtmann.org> References: <20190701111324.GA3906@ubuntu-18-04-beta2> To: Matias Karhumaa X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Matias, > Fixes minimum encryption key size check so that HCI_MIN_ENC_KEY_SIZE > is also allowed as stated in comment. > > This bug caused connection problems with devices having min > encryption key size of 7. > > This patch has been prepared against Linus' tree because previous > regression fix that introduced this bug is not in Bluetooth tree yet. > > Fixes: 693cd8ce3f88 ("Bluetooth: Fix regression with minimum encryption key size alignment") > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203997 > Signed-off-by: Matias Karhumaa > Cc: stable@vger.kernel.org > --- > net/bluetooth/l2cap_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been forwarded to Linus. Regards Marcel