mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
Bluetooth: hci_uart: Fix false success return in hci_uart_setup()
commita935579934upstream. When reading the local version information for vendor detection fails, the error is only printed and 0 is returned, which masks the setup failure from the HCI core. Return PTR_ERR(skb) instead. Fixes:fb2ce8d11f("Bluetooth: hci_uart: Add support for vendor detection flag") Fixes:82f5169bf3("Bluetooth: hci_uart: add serdev driver support library") Cc: stable@vger.kernel.org Signed-off-by: Gongwei Li <ligongwei@kylinos.cn> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a25c920860
commit
88a174ccd4
2 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue