Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp621310ybh; Wed, 11 Mar 2020 07:36:21 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtaKzvhEXA7f5P18BNUaqP/yCEJrexQxxZwD1mXbXhA1Emokc54hPxRrKfp3IbF5tiTIFDR X-Received: by 2002:a4a:94a4:: with SMTP id k33mr493933ooi.86.1583937381722; Wed, 11 Mar 2020 07:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583937381; cv=none; d=google.com; s=arc-20160816; b=Q4CU5KX5gcTyF/tFhcl5lz0Zcs1At8YDv0dZHqE1mlWqMvw6A0+9PlvPK5/U4C2Fea Z8Fi75JT05emuvFNY2tl3eSgv3MOuJ81N6dtiRYhXpt5Ov1kmaLceApmbjRm81gch1Mb cv8b1fQ3Zfzl011aUV+QW1/RR1AHLPDtxph/lQgwA0LvmGdRbkjxVIstKU7wTCvWzH/1 AwApfMPNE1NPL1fOXvBEonH+xv+zTPgwLsUK6KRfBCUm+8hLx6Kn6AmQo706sVVytwsY YGia9QTxa7LWE7bIn9a46A6yNzJQ5p/9sgPkJUicWZbBksBDhrpI/9h+QQX06Y9p4ZvI /W6w== 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=2Tp70ibmyswsCqmRLw/Rdici7jt0DM1I99EJGKZijG0=; b=DkoQqtS47sx5r4vmfzR4IbfUUorsYKq66EgYDL7nK3JPLPsaqmATz4lUMfHTjPGXu+ lg88p3n673ra2hvTPdcXqoPbohDeByUn5dGrYWO/LD6DrQLREKWDMgYbuVVzKpwbwvD+ DFwhr+HSByB7IBpYIVZULdJxgo6jlEayIkXZ6XsySXKphXRPSeoTh2w/SYyVX1Zn0+Bs 1pQf9Pnz1Y9xdENKGeIWUHfMxIZ1ylbnkPTCohTe+RAmfzk+Af9tbo2P2/m9BQEEEia6 +Bht3GhVyQb3158JvebVciDqQxkptO/qsN1zDC0IVmlpiZA8se5Du0ipaT7AGMjZjbir 0juA== 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 l11si1217896oib.32.2020.03.11.07.36.10; Wed, 11 Mar 2020 07:36:21 -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 S1729852AbgCKOfD (ORCPT + 99 others); Wed, 11 Mar 2020 10:35:03 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:50064 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729782AbgCKOfD (ORCPT ); Wed, 11 Mar 2020 10:35:03 -0400 Received: from [172.20.10.2] (x59cc8a78.dyn.telefonica.de [89.204.138.120]) by mail.holtmann.org (Postfix) with ESMTPSA id 11C81CECDF; Wed, 11 Mar 2020 15:44:30 +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] Bluetooth: mgmt: add mgmt_cmd_status in add_advertising From: Marcel Holtmann In-Reply-To: <20200310093101.1.Iaa45f22c4b2bb1828e88211b2d28c24d6ddd50a7@changeid> Date: Wed, 11 Mar 2020 15:35:00 +0100 Cc: Alain Michaud , Bluez mailing list , Miao-chen Chou , Joseph Hwang , Yoni Shavit , "David S. Miller" , Johan Hedberg , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski Content-Transfer-Encoding: 7bit Message-Id: References: <20200310093101.1.Iaa45f22c4b2bb1828e88211b2d28c24d6ddd50a7@changeid> To: Manish Mandlik 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 Manish, > If an error occurs during request building in add_advertising(), > remember to send MGMT_STATUS_FAILED command status back to bluetoothd. > > Signed-off-by: Joseph Hwang > Signed-off-by: Manish Mandlik > --- > > net/bluetooth/mgmt.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel