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)
commitdc5d82a9febb28aa9126f9a864eb212317e4ede6
tree49340b7dbc16bd81e3d3df1d4433edb28b7ccdda
parente7844ee599c3eb944c3bd0092d715ca86e76a1f3
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