]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add define for the maximum name length on HCI level
authorJohan Hedberg <johan.hedberg@nokia.com>
Wed, 16 Mar 2011 12:29:35 +0000 (14:29 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 31 Mar 2011 17:22:54 +0000 (14:22 -0300)
commit5a76691172465ff99b0670fbf3529226e61415bf
tree14dd2ecd69225f3535f72c461575d289c879dd2f
parentf8a46f9239cf58ec90ba4b6f2ffc6a40a870d9e2
Bluetooth: Add define for the maximum name length on HCI level

This patch adds a clear define for the maximum device name length in HCI
messages and thereby avoids magic numbers in the code.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/hci_sysfs.c