From: Arend van Spriel Date: Wed, 5 Oct 2011 13:20:06 +0000 (+0200) Subject: staging: brcm80211: fix thread blocking issue in brcmf_sdbrcm_bus_stop() X-Git-Tag: v3.2-rc1~169^2^2~173 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbbf4f42f59e9e1412239102d055bcc1c5f54eaf;p=pandora-kernel.git staging: brcm80211: fix thread blocking issue in brcmf_sdbrcm_bus_stop() The function brcmf_sdbrcm_bus_stop() terminates the watchdog and dpc thread, but this function can be called from the dpc thread itself. Stopping the dpc thread is only done when it is not the 'current' thread. Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Roland Vossen Signed-off-by: Arend van Spriel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed