From: Pavan Savoy Date: Fri, 4 Feb 2011 08:23:14 +0000 (-0600) Subject: drivers:misc: ti-st: fix hci-ll on wake_ind collision X-Git-Tag: v2.6.39-rc1~471^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d71ba2105a1d8c1712cdfcf46fc6040e4707cb9;p=pandora-kernel.git drivers:misc: ti-st: fix hci-ll on wake_ind collision Where file-transfer stops/pauses in between, is result of a HCI-LL anamoly in ST LL driver. ST LL did not copy the contents of WaitQ into the TxQ, when a WAKEUP_IND collision happened. Make also sure, that the copying mechanism is safe, by wrapping it around spin locks inside st_int_recv(). This was easily reproduced when the sleep timeout was reduced to 100ms for HCI-LL. Signed-off-by: Pavan Savoy Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed