]> git.karo-electronics.de Git - linux-beck.git/commit
brcmfmac: no fws locking outside fws module.
authorHante Meuleman <meuleman@broadcom.com>
Sat, 10 Aug 2013 10:27:23 +0000 (12:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:07:53 +0000 (16:07 -0400)
commit3f4f910fdc3b9eff06a007ab28762cd3d6720d51
tree8f1ecfd2fce5efb10ffd5f1ecd060d80f98e603a
parent0a4254be94fd3afc17fb84a88adabd4460dd4c56
brcmfmac: no fws locking outside fws module.

FWS uses locking to protect its data while being called from
various entries. On bus_txdata the lock was kept resulting in
unnecessary long locking, but also creating possibility for
deadlock. This update changes the locking to release lock when
bus_txdata is called.

Reviewed-by: Arend Van Spriel <arend@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>
drivers/net/wireless/brcm80211/brcmfmac/dhd.h
drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c