diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2012-08-30 10:05:36 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-05 14:53:34 -0400 |
commit | 2e875acd399fcc6e301063e5ead371ad089d5920 (patch) | |
tree | b8b8d887ae56d7caf8b9e2bd6186d2c972caaa82 /lib/mpi/mpicoder.c | |
parent | 474ab7cea4001f07ec8599a680fd19d8761fa7d8 (diff) |
brcmfmac: fix race condition for rx and tx data.
On both rx and tx there is was a race condition on the queueing
of usb requests. When for example frame gets submitted it is
possible that complete function gets called even before
usb_submit_urb() returns. As a result it is possible that usb
requests get losts, which was noticed on OMAP4 pandaboard
platform. This patch fixes the race condition.
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions