diff options
author | Eyal Shapira <eyal@wizery.com> | 2012-03-13 18:03:21 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-04-10 09:13:58 (GMT) |
commit | c56dbd57f3627203f2384ae1a5e71cf41904370e (patch) | |
tree | eef330174723ebad94d1cbce5cc1284cd71b3f7d /lib/llist.c | |
parent | ec414c7c78d6d81c31d77a892fed0b5f691a6d4e (diff) | |
download | linux-fsl-qoriq-c56dbd57f3627203f2384ae1a5e71cf41904370e.tar.xz |
wl12xx: fix race between suspend/resume and recovery
The iteration on the wlvif list in wl1271_op_resume/suspend was
perfomed before locking wl->mutex which would lead to a kernel
panic in case a recovery was queued at the same time
and would delete the wlvifs from the list.
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions