Bluetooth: Use common SOCK_STREAM receive code in RFCOMM
authorMat Martineau <mathewm@codeaurora.org>
Wed, 8 Sep 2010 17:05:28 +0000 (10:05 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 12 Oct 2010 15:44:51 +0000 (12:44 -0300)
commit3d7d01dffec4a6757ed1e3182f01c7ef5caa2539
tree0903ad1ffcf4378fd5f3d33716fc37d7059998b0
parent796c86eec84ddfd02281c5071838ed1fefda6b90
Bluetooth: Use common SOCK_STREAM receive code in RFCOMM

To reduce code duplication, have rfcomm_sock_recvmsg() call
bt_sock_stream_recvmsg().  The common bt_sock_stream_recvmsg()
code is nearly identical, with the RFCOMM-specific functionality
for deferred setup and connection unthrottling left in
rfcomm_sock_recvmsg().

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/rfcomm/sock.c