diff options
author | Ido Yariv <ido@wizery.com> | 2012-08-15 12:09:30 (GMT) |
---|---|---|
committer | Luciano Coelho <luca@coelho.fi> | 2012-09-27 09:13:53 (GMT) |
commit | 792a58a8720f02c8f340583f6ee54c9eb46adf0b (patch) | |
tree | 1cab60d86534dab47c9f0083e19c37dfae1d4ae1 /lib | |
parent | 1defbeb0426b5ca6280369b8fa89f0170420ff40 (diff) | |
download | linux-792a58a8720f02c8f340583f6ee54c9eb46adf0b.tar.xz |
wlcore: Don't recover during boot
While recursive recovery is avoided during shutdown, a new recovery may
be queued when the FW boots. The recovery work will then try to stop an
already stopped hardware, which will most likely result in a kernel
panic.
Fix this by verifying that wl->state is on before queueing a new
recovery.
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <luca@coelho.fi>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions