]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix handling of discoverable setting with timeout
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Feb 2012 17:21:00 +0000 (18:21 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:00 +0000 (13:07 +0200)
commit8c9bdf818f60d33fe5b407d452d5ab98943cff32
treeb2fb709e91207da67d3b1269b37b32ebb944a924
parent19667896392ab9282ae6d1257b43adc4427f31e3
Bluetooth: Fix handling of discoverable setting with timeout

The current handling of the discoverable timeout was missing the proper
handling of the timeout when the mode was already set. Now the command
can be used to expire or retrigger the timeout.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c