[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <437A34F3-F22D-45AC-81D3-45B57E86C952@holtmann.org>
Date: Tue, 23 May 2017 07:18:53 -0700
From: Marcel Holtmann <marcel@...tmann.org>
To: Guodong Xu <guodong.xu@...aro.org>
Cc: "Gustavo F. Padovan" <gustavo@...ovan.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Rob Herring <robh@...nel.org>, linux-bluetooth@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] Bluetooth: hci_ll: Fix download_firmware() return when
__hci_cmd_sync fails
Hi Guodong,
> When __hci_cmd_sync() fails, download_firmware() should also fail, and
> the same error value should be returned as PTR_ERR(skb).
>
> Without this fix, download_firmware() will return a success when it actually
> failed in __hci_cmd_sync().
>
> Fixes: 371805522f87 ("bluetooth: hci_uart: add LL protocol serdev driver support")
> Signed-off-by: Guodong Xu <guodong.xu@...aro.org>
> ---
> drivers/bluetooth/hci_ll.c | 1 +
> 1 file changed, 1 insertion(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists