]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: halt the embedded CPU before loading firmware
authorBob Copeland <me@bobcopeland.com>
Tue, 18 Aug 2009 03:33:56 +0000 (23:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:36:02 +0000 (11:36 -0400)
commit5b3d5dfdeec398c66daf3787c08d9b1ca1059448
treeed9d850d51f721b63d703f5c66ddb4b7f2b9268a
parent93412907053a7dd7808d28ad99bfc586d2c6edbf
wl1251: halt the embedded CPU before loading firmware

After initial power-up, the embedded cpu is usually halted.  However,
if we down the interface and only do a soft reset before bringing
the interface back up, it will still be running and the firmware
loading code will bail out.  This change halts the CPU before loading
the firmware, enabling a second call to wl1251_boot() to succeed
without a hard reset.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_boot.c