diff options
author | 2012-02-09 17:19:27 +0200 | |
---|---|---|
committer | 2012-02-13 17:01:37 +0200 | |
commit | 82eb703efc2ad2ac52cada85a5119bb9dfcea942 (patch) | |
tree | a3c772d239cb6705f116f74de687b5aca24849c4 /net/bluetooth/lib.c | |
parent | Bluetooth: Add address type to mgmt_ev_auth_failed (diff) | |
download | wireguard-linux-82eb703efc2ad2ac52cada85a5119bb9dfcea942.tar.xz wireguard-linux-82eb703efc2ad2ac52cada85a5119bb9dfcea942.zip |
Bluetooth: Fix mgmt_unpair_device command status
The default response status to unpair_device should be set as 0 instead
of a generic failure value. When disconnection is not needed (i.e. we
can reply imediately) we should return success and not failure.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/lib.c')
0 files changed, 0 insertions, 0 deletions