aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/iwlwifi/iwl3945-base.c1
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 4bdf237f6adc..1c3ca6ebdc4d 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -6171,6 +6171,7 @@ static void iwl_alive_start(struct iwl_priv *priv)
6171 mutex_lock(&priv->mutex); 6171 mutex_lock(&priv->mutex);
6172 6172
6173 if (rc) { 6173 if (rc) {
6174 iwl_rate_control_unregister(priv->hw);
6174 IWL_ERROR("Failed to register network " 6175 IWL_ERROR("Failed to register network "
6175 "device (error %d)\n", rc); 6176 "device (error %d)\n", rc);
6176 return; 6177 return;
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 8f85564ec6fa..3b31607a27fc 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -6527,6 +6527,7 @@ static void iwl_alive_start(struct iwl_priv *priv)
6527 mutex_lock(&priv->mutex); 6527 mutex_lock(&priv->mutex);
6528 6528
6529 if (rc) { 6529 if (rc) {
6530 iwl_rate_control_unregister(priv->hw);
6530 IWL_ERROR("Failed to register network " 6531 IWL_ERROR("Failed to register network "
6531 "device (error %d)\n", rc); 6532 "device (error %d)\n", rc);
6532 return; 6533 return;