commit | 9e0dc890ce23e2b28ce906bb8f466ca66f420911 | [log] [tgz] |
---|---|---|
author | Pontus Fuchs <pontus.fuchs@gmail.com> | Wed Jan 11 14:22:42 2012 +0100 |
committer | Luciano Coelho <coelho@ti.com> | Wed Feb 15 08:38:28 2012 +0200 |
tree | a3099c0de023bd1d17121e8733829594947459ac | |
parent | 15944aef29b6a3d96c52f3140c08b5a9d5fda0e9 [diff] |
wl12xx: Make sure HW is available in sched scan ops The sched_scan_(stop|start) ops fails to check for WL1271_STATE_OFF. This can lead to a race where the driver tries to access the HW while it's off. Fix this by checking for WL1271_STATE_OFF before accessing the HW. Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: Luciano Coelho <coelho@ti.com>