diff options
| author | Gongwei Li <ligongwei@kylinos.cn> | 2026-08-21 10:45:55 +0800 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-08-21 15:47:19 -0400 |
| commit | b8d936018ce2b029cd307056078a7802e9420b93 (patch) | |
| tree | f8081f28a548eb4d9579f7d259e7c0c76052bc5e /scripts/objdiff | |
| parent | 1c08039e3887fafc17dad527333938a379d38f34 (diff) | |
| download | linux-next-b8d936018ce2b029cd307056078a7802e9420b93.tar.gz linux-next-b8d936018ce2b029cd307056078a7802e9420b93.zip | |
Bluetooth: hci_uart: Fix false success return in hci_uart_setup()
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: fb2ce8d11f039 ("Bluetooth: hci_uart: Add support for vendor detection flag")
Fixes: 82f5169bf3d3b ("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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
