Bluetooth: Fix HCI command send functions to use const specifier
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 19 Apr 2013 07:14:51 +0000 (10:14 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 19 Apr 2013 13:31:58 +0000 (10:31 -0300)
commit07dc93dd14957dc1faba08f0aadd27b082e35ba2
treeb81c188a4a404bb5bc19d36fa6590244f7e770b2
parentfaff7f74d2f945527ef92d68e501d9e8adaca750
Bluetooth: Fix HCI command send functions to use const specifier

All HCI command send functions that take a pointer to the command
parameters do not need to modify the content in any way (they merely
copy the data to an skb). Therefore, the parameter type should be
declared const. This also allows passing already const parameters to
these APIs which previously would have generated a compiler warning.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c