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)
commit849c9c35e80d73c215c65b6023658b371bdeb5ed
tree4afe840bd777892ff5a40979405d9c42548d02ab
parent55beec10710d10cb4a1cbbc5b1a0d9c9cfbd2c1e
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