diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-02 17:37:28 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 17:42:57 +0200 |
commit | c71593dd34ae1fd46777662a522a32cfde86f073 (patch) | |
tree | b83b4ed165bf1003e762079e06b26296d4d90e36 /include/net | |
parent | a3451d279f839d987cbcf25b0f3be666aef99d0b (diff) |
Bluetooth: Remove only enabled entries with Remove Device command
The Remove Device mgmt command is supposed to undo what the Add Device
command does. An entry added by Add Device cannot have the
HCI_AUTO_CONN_DISABLED auto_connect value, so we should treat this as an
invalid entry to remove. This patch adds the necessary pieces to the
Remove Device command handler so that it only removes entries which were
added by Add Device.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions