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-24 13:13:20 -0400 |
| commit | a9355799343e10014f2acfd4b6844d2335ecafea (patch) | |
| tree | b83da36eb4d6666ecd40eef38e3ac4490d9860eb /tools/perf/scripts/python/task-analyzer.py | |
| parent | 44c98fd082eafd49d55a8a4077ff488175b2fe24 (diff) | |
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
