]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use HCI_MAX_AD_LENGTH constant instead hardcoded value
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 20 Mar 2015 00:22:25 +0000 (17:22 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 20 Mar 2015 12:08:32 +0000 (14:08 +0200)
commitd16c3180bae3f6d7d8832f3ffbeca48c5105d5b3
tree49340b7dbc16bd81e3d3df1d4433edb28b7ccdda
parent880b17c78527e3ff8f534888b07c27c1209dc347
Bluetooth: Use HCI_MAX_AD_LENGTH constant instead hardcoded value

Using the HCI_MAX_AD_LENGTH for the max advertising data and max scan
response data length makes more sense than hardcoding the value.

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