From: Pontus Fuchs Date: Wed, 11 Jan 2012 13:22:42 +0000 (+0100) Subject: wl12xx: Make sure HW is available in sched scan ops X-Git-Tag: v3.4-rc1~177^2~108^2~39^2~126^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e0dc890ce23e2b28ce906bb8f466ca66f420911;p=pandora-kernel.git 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 Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed