Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: [PATCH] Bluetooth: btmrvl: don't consume all vendor specific events From: Marcel Holtmann In-Reply-To: <1395371144-17034-1-git-send-email-bzhao@marvell.com> Date: Thu, 20 Mar 2014 20:30:05 -0700 Cc: "bluez mailin list (linux-bluetooth@vger.kernel.org)" , "Gustavo F. Padovan" , Johan Hedberg , Amitkumar Karwar Message-Id: References: <1395371144-17034-1-git-send-email-bzhao@marvell.com> To: Bing Zhao Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Bing, > If vendor specific HCI commands are received from application, > we should send corresponding events to stack. > These events should be consumed in driver, only if they are for > the internal HCI commands generated by driver. > > This patch fixes the vendor command 0x3f stuck problem with > above mentioned change. For example, > > hcitool cmd 3f 22 fe 06 22 21 20 43 50 00 > > Signed-off-by: Amitkumar Karwar > Signed-off-by: Bing Zhao > --- > drivers/bluetooth/btmrvl_main.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel