From: Mat Martineau Date: Wed, 8 Sep 2010 17:05:28 +0000 (-0700) Subject: Bluetooth: Use common SOCK_STREAM receive code in RFCOMM X-Git-Tag: v2.6.37-rc1~147^2~78^2~1^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d7d01dffec4a6757ed1e3182f01c7ef5caa2539;p=pandora-kernel.git 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 Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed