commit | cf04317227d0c53d931a0b963e7ac6f7f0125e8a | [log] [tgz] |
---|---|---|
author | Franky Lin <frankyl@broadcom.com> | Mon Apr 30 11:43:07 2012 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Wed May 02 14:02:03 2012 -0400 |
tree | 782655506b6a999b0f57c41bbb7ef6375716dd31 | |
parent | 66f2c99af3d6f2d0aa1120884cf1c60613ef61c0 [diff] |
brcmfmac: fix a double spin_unlock_irqrestore issue in dpc dpc_tl_lock is not acquired in the error handle code for bus down. But it's unlocked using spin_unlock_irqrestore after finishing task list walk down. Grab the lock before breaking the loop to avoid a double unlock. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Franky Lin <frankyl@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>