iwl4965: set power mode early
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 1 Aug 2013 10:07:13 +0000 (12:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 2 Aug 2013 18:54:04 +0000 (14:54 -0400)
commiteca396d7a5bdcc1fd67b1b12f737c213ac78a6f4
tree57768d082fccd769ebad201d2f6663d503f19178
parent11a45820d02ee78ad22bb95d5abb94950a355d8d
iwl4965: set power mode early

If device was put into a sleep and system was restarted or module
reloaded, we have to wake device up before sending other commands.
Otherwise it will fail to start with Microcode error.

Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/4965-mac.c