summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/include
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2012-08-30 19:42:58 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-09-07 15:03:42 -0400
commita77f57475465b1958f167c78dc94288ea0ba1b9c (patch)
tree0813459a05076a7efd474178e579b48a825a4de7 /drivers/net/wireless/brcm80211/include
parentadfbda62248258a402253744e4eed6b87fb43169 (diff)
downloadblackbird-op-linux-a77f57475465b1958f167c78dc94288ea0ba1b9c.tar.gz
blackbird-op-linux-a77f57475465b1958f167c78dc94288ea0ba1b9c.zip
brcmfmac: prevent possible race condition on usb rx control.
brcmf_usb_tx_ctlpkt sends message using brcmf_usb_send_ctl then clears boolean and waits for boolean to be set (by another thread). This can result in situation where flag gets cleared while result was already received. First clearing the flag and then sending the data will prevent this. 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 'drivers/net/wireless/brcm80211/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud