]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Force the process of unpair command if disconnect failed
authorJefferson Delfes <jefferson.delfes@openbossa.org>
Tue, 18 Sep 2012 17:36:54 +0000 (13:36 -0400)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 27 Sep 2012 21:08:01 +0000 (18:08 -0300)
commit15a7009317954dc4aa5101679bdca670667f0a10
tree3c99de6e81b10597c6e8203e76a0c5f695985111
parentad6b4ccc5e672d49897c584f10a8b7f5865f69cf
Bluetooth: Force the process of unpair command if disconnect failed

The unpair process tries to disconnect any connection pending with
remote. If there are some connection in connecting state, disconnect
command will fail and unpair mgmt command will stay pending.

That pending mgmt command can cause strange behavior like automatic
unpair after a lost connection.

Signed-off-by: Jefferson Delfes <jefferson.delfes@openbossa.org>
Acked-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/mgmt.c