commit | 77f328dbc6cf42f22c691a164958a5452142a542 | [log] [tgz] |
---|---|---|
author | Sean Wang <sean.wang@mediatek.com> | Fri Feb 15 07:19:35 2019 +0800 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Feb 18 14:06:38 2019 +0100 |
tree | 3609f84a37e0dbd7b22bebb7afb8da7faa06ab0e | |
parent | adf5d73056d185eff31a04aa91f5cb0a2ae22152 [diff] |
Bluetooth: mediatek: fix up an error path to restore bdev->tx_state Restore bdev->tx_state with clearing bit BTMTKUART_TX_WAIT_VND_EVT when there is an error on waiting for the corresponding event. Fixes: 7237c4c9ec92 ("Bluetooth: mediatek: Add protocol support for MediaTek serial devices") Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>