aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 904b5d8da860..771b03c1c7c5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -1995,7 +1995,7 @@ int iwl_dump_nic_event_log(struct iwl_priv *priv, bool full_log,
1995 } 1995 }
1996 1996
1997#ifdef CONFIG_IWLWIFI_DEBUG 1997#ifdef CONFIG_IWLWIFI_DEBUG
1998 if (!(iwl_get_debug_level(priv) & IWL_DL_FW_ERRORS)) 1998 if (!(iwl_get_debug_level(priv) & IWL_DL_FW_ERRORS) && !full_log)
1999 size = (size > DEFAULT_DUMP_EVENT_LOG_ENTRIES) 1999 size = (size > DEFAULT_DUMP_EVENT_LOG_ENTRIES)
2000 ? DEFAULT_DUMP_EVENT_LOG_ENTRIES : size; 2000 ? DEFAULT_DUMP_EVENT_LOG_ENTRIES : size;
2001#else 2001#else
@@ -3349,7 +3349,6 @@ static int iwl_init_drv(struct iwl_priv *priv)
3349 3349
3350 priv->ibss_beacon = NULL; 3350 priv->ibss_beacon = NULL;
3351 3351
3352 spin_lock_init(&priv->lock);
3353 spin_lock_init(&priv->sta_lock); 3352 spin_lock_init(&priv->sta_lock);
3354 spin_lock_init(&priv->hcmd_lock); 3353 spin_lock_init(&priv->hcmd_lock);
3355 3354
@@ -3538,10 +3537,11 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
3538 (unsigned long long) pci_resource_len(pdev, 0)); 3537 (unsigned long long) pci_resource_len(pdev, 0));
3539 IWL_DEBUG_INFO(priv, "pci_resource_base = %p\n", priv->hw_base); 3538 IWL_DEBUG_INFO(priv, "pci_resource_base = %p\n", priv->hw_base);
3540 3539
3541 /* this spin lock will be used in apm_ops.init and EEPROM access 3540 /* these spin locks will be used in apm_ops.init and EEPROM access
3542 * we should init now 3541 * we should init now
3543 */ 3542 */
3544 spin_lock_init(&priv->reg_lock); 3543 spin_lock_init(&priv->reg_lock);
3544 spin_lock_init(&priv->lock);
3545 iwl_hw_detect(priv); 3545 iwl_hw_detect(priv);
3546 IWL_INFO(priv, "Detected Intel Wireless WiFi Link %s REV=0x%X\n", 3546 IWL_INFO(priv, "Detected Intel Wireless WiFi Link %s REV=0x%X\n",
3547 priv->cfg->name, priv->hw_rev); 3547 priv->cfg->name, priv->hw_rev);