wl12xx: wakeup chip from ELP during scan
authorArik Nemtsov <arik@wizery.com>
Tue, 1 Mar 2011 10:27:26 +0000 (12:27 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 3 Mar 2011 14:20:25 +0000 (16:20 +0200)
commit24225b37bd78d3e2edaa1a39316c54786adaa465
tree81870a5f482b2d672f25b04d6edc0d31efebcde0
parentb16d4b6864e5bd7e5a6e5987f896003175235bca
wl12xx: wakeup chip from ELP during scan

Commands are sometimes sent to FW on scan completion. Make sure the chip
is awake to receive them. Sending commands while the chip is in ELP
can cause SDIO read errors and/or crash the FW.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/scan.c