]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
iwlwifi: fix 4965 uCode load
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 30 Jun 2008 09:23:26 +0000 (17:23 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jun 2008 21:37:45 +0000 (17:37 -0400)
This patch fixes uCode load in 4965 HW

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-5000.c
drivers/net/wireless/iwlwifi/iwl4965-base.c

index 099983f7306a7b045bbcd45cdb12182db73d767b..1be6ca435f3d76111b54f4a4bbd2cccda57d04e8 100644 (file)
@@ -807,11 +807,8 @@ static int iwl5000_alive_notify(struct iwl_priv *priv)
 
        iwl5000_send_Xtal_calib(priv);
 
-       if (priv->ucode_type == UCODE_RT) {
+       if (priv->ucode_type == UCODE_RT)
                iwl5000_send_calib_results(priv);
-               set_bit(STATUS_READY, &priv->status);
-               priv->is_open = 1;
-       }
 
        return 0;
 }
index a4aebe19600326b4b2f2a0eaa4e067981e246b57..5eb2a3eaf6771289d6de7cc50df4ff8779d334a1 100644 (file)
@@ -2627,9 +2627,9 @@ static int iwl4965_mac_start(struct ieee80211_hw *hw)
                        ret = -ETIMEDOUT;
                        goto out_release_irq;
                }
-
-               priv->is_open = 1;
        }
+
+       priv->is_open = 1;
        IWL_DEBUG_MAC80211("leave\n");
        return 0;