OSDN Git Service

Bluetooth: Add hci_cmd_sync_cancel to public API
authorBenjamin Berg <bberg@redhat.com>
Fri, 3 Dec 2021 14:59:00 +0000 (15:59 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 3 Dec 2021 18:41:59 +0000 (10:41 -0800)
commit914b08b330d6722ed081e14580aae6fe66cd5946
tree73b3f6a059dbbccac732b4392777808ae6bcfdea
parentae422391e17d30a2fb1d0968142dcd1e4cdc172a
Bluetooth: Add hci_cmd_sync_cancel to public API

After transfer errors it makes sense to cancel an ongoing synchronous
command that cannot complete anymore. To permit this, export the old
hci_req_sync_cancel function as hci_cmd_sync_cancel in the API.

Signed-off-by: Benjamin Berg <bberg@redhat.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/hci_sync.h
net/bluetooth/hci_request.c
net/bluetooth/hci_request.h
net/bluetooth/hci_sync.c