]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btmtkuart: fix the conflict between mtk and msft vendor event
authorSean Wang <sean.wang@mediatek.com>
Wed, 9 Mar 2022 00:03:54 +0000 (08:03 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Mar 2022 16:12:07 +0000 (17:12 +0100)
commitd72b6b1d2cb1d6beb5696a62491bdec0d1c4a4b0
tree6ff9244a4443f161437b558f40e90f405412fcc0
parent82b3cff7aa25e1e567c173f95683f45317086bd3
Bluetooth: btmtkuart: fix the conflict between mtk and msft vendor event

There is a conflict between MediaTek wmt event and msft vendor extension
logic in the core layer since 0546fce1b0e0 ("Bluetooth: Add framework for
Microsoft vendor extension") was introduced because we changed the type of
mediatek wmt event to the type of msft vendor event in the driver.

But the purpose we reported mediatek event to the core layer is for the
diagnostic purpose with that we are able to see the full packet trace via
monitoring socket with btmon. Thus, it is harmless we keep the original
type of mediatek vendor event here to avoid breaking the msft extension
function especially they can be supported by Mediatek future devices.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtkuart.c