diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2008-04-03 16:05:23 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-08 16:44:42 -0400 |
commit | fe00b5a5b7e29180e427e58b3d0a185d1dd3f105 (patch) | |
tree | c5399dbf16d9b5f8ae1c63974d5a7fa6ab10f8e7 /drivers/net/wireless/iwlwifi/iwl3945-base.c | |
parent | dc92e49729142047bce8f14762accb322962b585 (diff) | |
download | blackbird-op-linux-fe00b5a5b7e29180e427e58b3d0a185d1dd3f105.tar.gz blackbird-op-linux-fe00b5a5b7e29180e427e58b3d0a185d1dd3f105.zip |
iwlwifi: ensure led registration complete as part of initialization
After the workqueue is notified the LED code may be accessed. Ensure
that LED registration completes completely as part of initialization
before anything waiting on this is notified.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl3945-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 51480a4920e8..d4daa04465a3 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c @@ -5874,12 +5874,12 @@ static void iwl3945_alive_start(struct iwl3945_priv *priv) iwl3945_reg_txpower_periodic(priv); + iwl3945_led_register(priv); + IWL_DEBUG_INFO("ALIVE processing complete.\n"); set_bit(STATUS_READY, &priv->status); wake_up_interruptible(&priv->wait_command_queue); - iwl3945_led_register(priv); - if (priv->error_recovering) iwl3945_error_recovery(priv); |