diff options
author | 2015-10-22 10:49:37 +0300 | |
---|---|---|
committer | 2015-10-22 11:37:22 +0200 | |
commit | dcc0f0d9ce839e1cc97b95d9dac364047bd1b975 (patch) | |
tree | 776ada825bb3dafaf02520fd95da1397467d8862 /net/unix/af_unix.c | |
parent | Bluetooth: hci_bcm: checking for ERR_PTR instead of NULL (diff) | |
download | wireguard-linux-dcc0f0d9ce839e1cc97b95d9dac364047bd1b975.tar.xz wireguard-linux-dcc0f0d9ce839e1cc97b95d9dac364047bd1b975.zip |
Bluetooth: Introduce hci_req helper to abort a connection
There are several different places needing to make sure that a
connection gets disconnected or canceled. The exact action needed
depends on the connection state, so centralizing this logic can save
quite a lot of code duplication.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions