commit | f3df1331f25f782e838a3ecb72cec86b539ac02f | [log] [tgz] |
---|---|---|
author | Ido Yariv <ido@wizery.com> | Wed Jan 11 09:42:39 2012 +0200 |
committer | Luciano Coelho <coelho@ti.com> | Wed Feb 15 08:38:28 2012 +0200 |
tree | 216aa4589286aec4cfd5878b6607b10ffe5cff4b | |
parent | 9e0dc890ce23e2b28ce906bb8f466ca66f420911 [diff] |
wl12xx: Acquire lock before stopping plt __wl1271_plt_stop is called from both wl1271_plt_stop and wl1271_unregister_hw. While wl1271_plt_stop acquires a mutex, wl1271_unregister_hw does not. Fix this by calling wl1271_plt_stop instead of __wl1271_plt_stop from wl1271_unregister_hw. Signed-off-by: Ido Yariv <ido@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>