From: Marcel Holtmann Date: Tue, 16 Sep 2014 06:00:29 +0000 (+0200) Subject: Bluetooth: btusb: Implement driver internal packet reassembly X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~71^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=803b58367ffb7ae89397637122f9a71b2ee40687;p=pandora-kernel.git Bluetooth: btusb: Implement driver internal packet reassembly When receiving USB interrupt, bulk or isochronous packet, they normally come in fragments. So far the driver just handed each fragment off to the hci_recv_fragment function of the Bluetooth core. That function is however so specific that is does not belong in the core. This patch implements the same reassembly logic in the driver. In addition this fixes a long standing bug where multiple complete packets are received within a single USB packet. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed