Bluetooth: Make data pointer of hci_recv_stream_fragment const
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 5 Apr 2015 03:59:40 +0000 (20:59 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2015 16:47:09 +0000 (18:47 +0200)
commit5c7d2dd2852c7cd8f07cf91291b351c01b781044
tree6539a1910d4dee4ab5abbdc142be313783c2cdf8
parent940cbe3a6b2282551e2e458d307967ae37cbba18
Bluetooth: Make data pointer of hci_recv_stream_fragment const

The data pointer provided to hci_recv_stream_fragment function should
have been marked const. The function has no business in modifying the
original data. So fix this now.

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