From: Marcel Holtmann Date: Mon, 6 Apr 2015 06:44:59 +0000 (-0700) Subject: Bluetooth: hci_uart: Provide generic H:4 receive framework X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~34^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b8df9362e8bd1951e1fddbd65ca87af8df52c8;p=pandora-kernel.git Bluetooth: hci_uart: Provide generic H:4 receive framework Future H:4 based UART drivers require custom packet types and custom receive functions. To support this, extended the h4_recv_buf function with a packet definition table. For the default H:4 packets types of ACL data, SCO data and events, provide helpers to reduce the amount of code duplication. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed