Bluetooth: Use zero timeout for immediate scheduling
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 17 Aug 2014 21:41:41 +0000 (00:41 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:53 +0000 (19:07 +0200)
commiteb78d7e53d144995b9e023b151de19fa40af72f3
treee44857e3a83e16734c1677095806f680aac5e34e
parentf6c63249698aaa87399e795adcf3b70171384dc2
Bluetooth: Use zero timeout for immediate scheduling

There's no point in passing a "small" timeout to queue_delayed_work() to
try to get the callback faster scheduled. Passing 0 is perfectly valid
and will cause a shortcut to a direct queue_work().

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