]> 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)
commit62570008e9232dc210ac5f89e2f4160c6bb77465
tree49340b7dbc16bd81e3d3df1d4433edb28b7ccdda
parent92fae2b0acd786a6e475f3c4af3f07b5cb8cbb14
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