summaryrefslogtreecommitdiffstats
path: root/lib/crc7.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-02-09 20:59:23 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-02-14 13:39:32 -0800
commitb16b4351313fb89ccb4c227d432d16aa32ffec72 (patch)
tree4f5b863566aa2b255cd99b928bca2df96767deb8 /lib/crc7.c
parent72e5108c6d637ea2f4c0e64b09621a79f363b664 (diff)
downloadlinux-b16b4351313fb89ccb4c227d432d16aa32ffec72.tar.bz2
Bluetooth: Refactor write_room() calculation
Compute the amount of space available for a single write() within rfcomm_room(); clamp to 0 for negative values. Note this patch does not change the result of the computation. Report the amount of room returned in the debug printk. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Tested-By: Alexander Holler <holler@ahsoftware.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/crc7.c')
0 files changed, 0 insertions, 0 deletions