Dan Carpenter a76d269a4e Bluetooth: btmtkuart: fix error handling in mtk_hci_wmt_sync()
This code has an uninitialized variable warning:

    drivers/bluetooth/btmtkuart.c:184 mtk_hci_wmt_sync()
    error: uninitialized symbol 'wc'.

But it also has error paths which have memory leaks.

Fixes: 8f550f55b155 ("Bluetooth: btmtkuart: rely on BT_MTK module")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2022-03-18 17:12:08 +01:00
..
2022-02-25 12:30:01 -08:00
2022-02-28 10:43:07 -08:00
2022-03-16 11:57:46 -07:00
2021-12-09 20:06:54 -08:00
2022-02-28 10:43:07 -08:00
2022-01-11 11:35:28 -08:00
2022-03-04 12:02:19 +00:00
2022-03-18 15:11:31 +00:00
2022-01-22 08:33:37 +02:00
2022-01-16 08:08:11 +02:00
2022-02-28 10:43:07 -08:00
2022-01-22 08:33:37 +02:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-03-07 11:40:40 +00:00
2021-12-29 10:54:50 +01:00
2022-01-20 13:31:46 +02:00
2022-02-28 10:43:07 -08:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00
2021-12-08 14:53:15 -05:00