diff options
author | Mark Chen <mark-yw.chen@mediatek.com> | 2021-12-07 01:33:43 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-12-07 17:05:52 +0100 |
commit | 995d948cf2e45834275f07afc1c9881a9902e73c (patch) | |
tree | fcefa32102c9319dcc6bcd10699743a6d0683e63 /net/bluetooth/mgmt_util.h | |
parent | 00c0ee9850b7b0cb7c40b8daba806ae2245e59d4 (diff) | |
download | linux-995d948cf2e45834275f07afc1c9881a9902e73c.tar.gz linux-995d948cf2e45834275f07afc1c9881a9902e73c.tar.bz2 linux-995d948cf2e45834275f07afc1c9881a9902e73c.zip |
Bluetooth: btusb: Return error code when getting patch status failed
If there are failure cases in getting patch status, it should return the
error code (-EIO).
Fixes: fc342c4dc4087 ("Bluetooth: btusb: Add protocol support for MediaTek MT7921U USB devices")
Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Mark Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/mgmt_util.h')
0 files changed, 0 insertions, 0 deletions