aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c
index bee83d6a51c..4100b155531 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.c
+++ b/drivers/net/wireless/iwlwifi/iwl-core.c
@@ -511,16 +511,14 @@ static int iwlcore_init_geos(struct iwl_priv *priv)
511 511
512 if ((priv->bands[IEEE80211_BAND_5GHZ].n_channels == 0) && 512 if ((priv->bands[IEEE80211_BAND_5GHZ].n_channels == 0) &&
513 priv->cfg->sku & IWL_SKU_A) { 513 priv->cfg->sku & IWL_SKU_A) {
514 dev_printk(KERN_INFO, &(priv->hw->wiphy->dev), 514 IWL_INFO(priv, "Incorrectly detected BG card as ABG. "
515 "Incorrectly detected BG card as ABG. Please send " 515 "Please send your PCI ID 0x%04X:0x%04X to maintainer.\n",
516 "your PCI ID 0x%04X:0x%04X to maintainer.\n",
517 priv->pci_dev->device, 516 priv->pci_dev->device,
518 priv->pci_dev->subsystem_device); 517 priv->pci_dev->subsystem_device);
519 priv->cfg->sku &= ~IWL_SKU_A; 518 priv->cfg->sku &= ~IWL_SKU_A;
520 } 519 }
521 520
522 dev_printk(KERN_INFO, &(priv->hw->wiphy->dev), 521 IWL_INFO(priv, "Tunable channels: %d 802.11bg, %d 802.11a channels\n",
523 "Tunable channels: %d 802.11bg, %d 802.11a channels\n",
524 priv->bands[IEEE80211_BAND_2GHZ].n_channels, 522 priv->bands[IEEE80211_BAND_2GHZ].n_channels,
525 priv->bands[IEEE80211_BAND_5GHZ].n_channels); 523 priv->bands[IEEE80211_BAND_5GHZ].n_channels);
526 524