wl12xx: always initialize AP-mode max power level
authorArik Nemtsov <arik@wizery.com>
Mon, 27 Jun 2011 19:06:34 +0000 (22:06 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jul 2011 18:51:05 +0000 (21:51 +0300)
commit097f882153f0ec13617074fa3bdb683b8215e20c
tree53554edb12af51ce9d658e9bfd37704d241a787c
parent6cfa5cffde202cabbf0d64c9225ce89f7f7a0d0f
wl12xx: always initialize AP-mode max power level

Sometimes we only get the Tx power level via op->config when the FW is
off. Record the received power level when this happens and use it to
initialize the firmware during boot.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/acx.c
drivers/net/wireless/wl12xx/init.c
drivers/net/wireless/wl12xx/main.c