Bluetooth: btmtksdio: fix the reset takes too long
authorSean Wang <sean.wang@mediatek.com>
Thu, 12 May 2022 21:38:11 +0000 (05:38 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 13 May 2022 11:19:01 +0000 (13:19 +0200)
commitbaabb7f530e8a3f0085d12f4ea0bada4115515d3
tree46b8ad92ac948c61ce4bed0a0a870c4b62d8bd39
parent7469720563e01f479ec5afe06bd6f440f965d523
Bluetooth: btmtksdio: fix the reset takes too long

Sending WMT command during the reset in progress is invalid and would get
no response from firmware until the reset is complete, so we ignore the WMT
command here to resolve the issue which causes the whole reset process
taking too long.

Fixes: 8fafe702253d ("Bluetooth: mt7921s: support bluetooth reset mechanism")
Co-developed-by: Yake Yang <yake.yang@mediatek.com>
Signed-off-by: Yake Yang <yake.yang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c