iwl3945: set STATUS_READY before commit_rxon
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 28 Jan 2011 15:47:45 +0000 (16:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Jan 2011 20:46:24 +0000 (15:46 -0500)
commit5a5289dfa5f79168bd477bba2353da90786c83d6
tree6af93507cebe1694edc7b8702b76b23389b296d8
parentf844a709a7d8f8be61a571afc31dfaca9e779621
iwl3945: set STATUS_READY before commit_rxon

Similar change as we already do for agn, need to avoid
"Error setting Tx power (-5)" message when loading module.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl3945-base.c