diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c index fb5bb487f3bc..ee11452519e6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c | |||
@@ -590,9 +590,16 @@ int iwl_eeprom_init(struct iwl_priv *priv) | |||
590 | e[addr / 2] = cpu_to_le16(r >> 16); | 590 | e[addr / 2] = cpu_to_le16(r >> 16); |
591 | } | 591 | } |
592 | } | 592 | } |
593 | |||
594 | IWL_DEBUG_INFO(priv, "NVM Type: %s, version: 0x%x\n", | ||
595 | (priv->nvm_device_type == NVM_DEVICE_TYPE_OTP) | ||
596 | ? "OTP" : "EEPROM", | ||
597 | iwl_eeprom_query16(priv, EEPROM_VERSION)); | ||
598 | |||
593 | ret = 0; | 599 | ret = 0; |
594 | done: | 600 | done: |
595 | priv->cfg->ops->lib->eeprom_ops.release_semaphore(priv); | 601 | priv->cfg->ops->lib->eeprom_ops.release_semaphore(priv); |
602 | |||
596 | err: | 603 | err: |
597 | if (ret) | 604 | if (ret) |
598 | iwl_eeprom_free(priv); | 605 | iwl_eeprom_free(priv); |