summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWang ShaoBo <bobo.shaobowang@huawei.com>2022-12-05 14:53:57 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-12-12 23:19:25 +0100
commitcee50ce899de415baf4da3ed38b7d4f13c3170d1 (patch)
tree497651c8d4c0ed5c6ab23d42351862cc6f4c3f9d /arch
parentBluetooth: hci_conn: Fix crash on hci_create_cis_sync (diff)
downloadlinux-cee50ce899de415baf4da3ed38b7d4f13c3170d1.tar.xz
linux-cee50ce899de415baf4da3ed38b7d4f13c3170d1.zip
Bluetooth: btintel: Fix missing free skb in btintel_setup_combined()
skb allocated by __hci_cmd_sync would not be used whether in checking for supported iBT hardware variants or after, we should free it in all error branches, this patch makes the case read version failed or default error case free skb before return. Fixes: c86c7285bb08 ("Bluetooth: btintel: Fix the legacy bootloader returns tlv based version") Fixes: 019a1caa7fd2 ("Bluetooth: btintel: Refactoring setup routine for bootloader devices") Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com> Reviewed-by: Tedd Ho-Jeong An <tedd.an@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions