]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc69bcd7fefa83ec5becdd6dee4abf1d0d435107f
tree6539a1910d4dee4ab5abbdc142be313783c2cdf8
parent7ff9f3905b3f3df07d18d4af3d1f128f5085fb8d
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