From: Mat Martineau Date: Fri, 18 May 2012 03:53:39 +0000 (-0700) Subject: Bluetooth: Refactor l2cap_send_ack X-Git-Tag: v3.6-rc1~125^2~57^2~290^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a0aba42b8daba55e4d2bdfc3c8ca7d7d827b723;p=pandora-kernel.git Bluetooth: Refactor l2cap_send_ack The function now encapsulates more of the logic to either immediately send an ack if the transmit window is over 75% full, or wait for the ack timer to expire if the transmit window is not full enough. It is also able to push out waiting iframes that can carry an acknowledgement. Signed-off-by: Mat Martineau Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed