NFC: Return the amount of LLCP bytes queued to sock_sendmsg
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 7 May 2012 10:31:21 +0000 (12:31 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 15 May 2012 21:28:02 +0000 (17:28 -0400)
commit43472fffb4628773397297f7e365983accd4a0ef
tree878fdffb56405e2910f3f8ba681ffde48477112d
parent4260c13ba9102d466f017139de990dfffaf4d997
NFC: Return the amount of LLCP bytes queued to sock_sendmsg

Otherwise an LLCP send() always returns 0.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/llcp/commands.c