Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1893502ybb; Thu, 9 Apr 2020 11:00:01 -0700 (PDT) X-Google-Smtp-Source: APiQypK9UoYhOGwN50aUsg658T8eiBJzG30F3pJITJWqhndgefeU30lIuJu5fGdM7ewSprjuAo3W X-Received: by 2002:a37:af86:: with SMTP id y128mr1099981qke.429.1586455201470; Thu, 09 Apr 2020 11:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586455201; cv=none; d=google.com; s=arc-20160816; b=ip4QxE7Er/asrx99wqk2X+KN75w4/N5zzY9WXajfTDouxtKLmhxAB7moZCRkGF7vNp 218BMyVdlrlOGtrl3rMN4DEvgBkLxHHzhji6TA5szGaJ0SJT29YdwsbiTfJGLxb90vLc oVmGuTe5XpDcBVdEvt1eBbt2DJhr6A7IlgKQCQSo9mCjhvgYbLQ7pmbgZXtqeYzbo12/ oF++6wDeZobCzjvHRnZ8O7GZPe3BKASzmjpyRyolY/zyy3J78/3nrRfulcZ0vCjPpu7X +ySxlbWXWzlkzWifRGuCFa/WYGSAKwOEo2fALNVm0J9YHKWiktHa551fRQXgekd0avMR l+cQ== 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=RjJiFMF7Btu8GjKkMI6ySYsq1JHSrR8IMGtEk0bKajQ=; b=suIzCvxDW2BfkG0QdrHigxdAh9ImMNTPonXODDbxrRobbU9EQxVwsnjcqGlmEtqfUX xQ6Jvq+4pybUK12z+4d9COLNeektQdgF57sHqRRyFAzt9IkLkqoH4ViGLiX9nJthONDs B9oWbUKz7eX1zAiiAi+uNE+cFGv26V9WLGrgZEYunvFbW15ZgUsDFKXb3snBaHwf5U2D sec5ucf9gRb/l4VFB7wLYDic+AQLf4abI0YVqUvCxHziZSJN1CuTV8y9mJZfn7ImJPEM LZgK5RgFlta2BA7f0e8ww9HoG2ZMgq1p9LazTTpLtoHBJpGMxN+Cp6G+F4YJHwdDY3BS uaWA== 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 n82si4741856qkn.80.2020.04.09.10.59.33; Thu, 09 Apr 2020 11:00:01 -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 S1726559AbgDIR7a (ORCPT + 99 others); Thu, 9 Apr 2020 13:59:30 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:51782 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725970AbgDIR7a (ORCPT ); Thu, 9 Apr 2020 13:59:30 -0400 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id CDB47CECFD; Thu, 9 Apr 2020 20:09:04 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH] Bluetooth: log advertisement packet length if it gets corrected From: Marcel Holtmann In-Reply-To: <20200409111829.9508-1-daniels@umanovskis.se> Date: Thu, 9 Apr 2020 19:59:29 +0200 Cc: Johan Hedberg , linux-bluetooth@vger.kernel.org, Daniels Umanovskis Content-Transfer-Encoding: 7bit Message-Id: <7ADF03D1-3DE0-40D7-B688-1280DBC68D8E@holtmann.org> References: <20200409111829.9508-1-daniels@umanovskis.se> To: daniels@umanovskis.se X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Daniels, > The error could indicate a problem with the Bluetooth device. It > is easier to investigate if the packet's actual length gets logged, > not just the fact that a discrepancy occurred. > > Signed-off-by: Daniels Umanovskis > --- > net/bluetooth/hci_event.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel