mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
Bluetooth: msft: Fix error code in msft_cancel_address_filter_sync()
Return negative -EIO instead of positive EIO. Fixes: 926df8962f3f ("Bluetooth: msft: Extended monitor tracking by address filter") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
f777d88278
commit
528b2acf43
@ -743,7 +743,7 @@ static int msft_cancel_address_filter_sync(struct hci_dev *hdev, void *data)
|
||||
if (IS_ERR_OR_NULL(skb)) {
|
||||
bt_dev_err(hdev, "MSFT: Failed to cancel address (%pMR) filter",
|
||||
&address_filter->bdaddr);
|
||||
err = EIO;
|
||||
err = -EIO;
|
||||
goto done;
|
||||
}
|
||||
kfree_skb(skb);
|
||||
|
Loading…
Reference in New Issue
Block a user