]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use extra variable to make code more readable
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 9 Apr 2020 06:05:48 +0000 (08:05 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 15 Apr 2020 13:51:02 +0000 (16:51 +0300)
commitc673b09858e37e21c35c9ea08c7549cf650225f5
tree4afe840bd777892ff5a40979405d9c42548d02ab
parent86dd46cdb33fad9438b6ba0057d1ea910356d832
Bluetooth: Use extra variable to make code more readable

When starting active scanning for discovery the whitelist is not needed
to be used. So the filter_policy is 0x00. To make the core more readable
use a variable name instead of just setting 0 as paramter.

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