]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Disabling discoverable with timeout is invalid
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Feb 2012 17:06:34 +0000 (18:06 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:00 +0000 (13:07 +0200)
commit19667896392ab9282ae6d1257b43adc4427f31e3
tree4c3bf52346cc63742f37e772b3ff22a1b4e96193
parent55568d7a7a90b316062f9b2490ab8b1bd833f829
Bluetooth: Disabling discoverable with timeout is invalid

Add one extra sanity check to ensure that the supplied timeout value is
actually valid in this context.

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