Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp613059ybh; Wed, 11 Mar 2020 07:27:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vttm+uaww70BX7OdWH4H9Uiw0iphGgqIC5KB81P3PAKoMV45T4iYInwGk9pYC+n1Ozcge5O X-Received: by 2002:aca:4106:: with SMTP id o6mr2149262oia.173.1583936838192; Wed, 11 Mar 2020 07:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583936838; cv=none; d=google.com; s=arc-20160816; b=Fz9sFqAvYw6OFxkrJ2VCA2U/WfxFjm/u5+y8HnRaK8g9pqqhsNG+RA72y89L7pWmdD WiUpAqzU4optHS/d0z52yUODz/WzPU3cBRqXtIEjQmOGzdNzAaM09eri4KM9O7oPRDUJ MUGpbyiBYhEG/mDJaFHp9e1ek6TvYY6kCshOeZ/WJVEz1S8LJfP4AVhuFPIRfqEq3tJD KGQAJQdoML/uZuBWM2cFlqmkNSmgPrRAP3yKkP92cIKBzyZT3+7ESS9cQ14JzCCIDzlz JFgALpWLWQmHRrEiOMyyggebZyf4q6Yezu4IKKqZCsJLw148GGXAuEJQjoVwh9SkPvqK PDkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=nTRVY9sRZA2/EDE94JWBr1Q654XHhZJ9KUNzOV5Rx3k=; b=c+8FaNUjQki6ih7dMD2mAOr9dV8rb9F2ZXVbJcGSEZzit/31HgxG1RCv2/VJ2XetR9 8wME8j5cM3EL1070O9tZoVlRBBbhZ90iimhIzwyZpKhGydCAQqPR19pPr13eUN82+FMM MVoEIhb1YYQSATIb9q3jFbv6nGUyCoCWsCtLmplrx5Z8xIk00qEZ76Snb6nvfgUSUiBX Mbzbefwl/fBRl/xbNDCW7v+R6kHOCBRrT2U6U8LKPw4T1eErt02nQ29k4nl7YbE0JuYY QLIPkgchbJFFR7mGDVvSGudt5mHmCWx1ZdSBtpeVlV3kMS+7NY4wDdQfuKe+3QJeIFwS rxng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si1179986oti.283.2020.03.11.07.27.03; Wed, 11 Mar 2020 07:27:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729198AbgCKOZ7 (ORCPT + 99 others); Wed, 11 Mar 2020 10:25:59 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:59026 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729100AbgCKOZ7 (ORCPT ); Wed, 11 Mar 2020 10:25:59 -0400 Received: from [172.20.10.2] (x59cc8a78.dyn.telefonica.de [89.204.138.120]) by mail.holtmann.org (Postfix) with ESMTPSA id 1DE7CCECDF; Wed, 11 Mar 2020 15:35:26 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: [PATCH v1] bluetooth: fix off by one in err_data_reporting cmd masks. From: Marcel Holtmann In-Reply-To: <20200311141857.197369-1-alainm@chromium.org> Date: Wed, 11 Mar 2020 15:25:56 +0100 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20200311141857.197369-1-alainm@chromium.org> To: Alain Michaud X-Mailer: Apple Mail (2.3608.60.0.2.5) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Alain, > This change fixes the off by one error in the erroneous command bit > masks which can lead to the erroneous data commands being sent to a > controller that doesn't support them. > > Signed-off-by: Alain Michaud > --- > > net/bluetooth/hci_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel