From: Waldemar Rymarkiewicz Date: Thu, 20 Sep 2012 06:59:10 +0000 (+0200) Subject: NFC: xmit from hci ops must return 0 or negative X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~31^2^2~10^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96e324024b421b3753eb142d5d92fbe4ac5e7519;p=pandora-kernel.git NFC: xmit from hci ops must return 0 or negative xmit callback provided by a driver encapsulates upper layers data and sends it to the hardware. So, HCI does not know the exact amount of data being sent and thus can't handle partially sent frames properly. Therefore, the driver must return 0 for completely sent frame or negative for failure. Signed-off-by: Waldemar Rymarkiewicz Acked-by: Eric Lapuyade Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed