]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: cancel delayed elp work and clear flags when stopping PLT
authorLuciano Coelho <coelho@ti.com>
Wed, 11 Jan 2012 07:42:42 +0000 (09:42 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 15 Feb 2012 06:38:28 +0000 (08:38 +0200)
commit5be67a5363f4b9d5882d1cd0d4e631c7ce51cf91
treec41af20823ef8da406e058328f49f6502a79f9b7
parentfc2c385c64298f64ca05db112a268b7eb0f2ca98
wl12xx: cancel delayed elp work and clear flags when stopping PLT

In some cases a race condition can happen if we don't cancel any
pending ELP work before stopping PLT.  With this commit we cancel ELP
work and clear the wl->flags bitmask.  Also clean up the wl elements
after powering off.

Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c