diff options
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/dvm/main.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/dvm/main.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/dvm/main.c b/drivers/net/wireless/intel/iwlwifi/dvm/main.c index e68254e12764..1088ff036e13 100644 --- a/drivers/net/wireless/intel/iwlwifi/dvm/main.c +++ b/drivers/net/wireless/intel/iwlwifi/dvm/main.c | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | * | 2 | * |
| 3 | * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. | 3 | * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. |
| 4 | * Copyright(c) 2015 Intel Deutschland GmbH | 4 | * Copyright(c) 2015 Intel Deutschland GmbH |
| 5 | * Copyright (C) 2018 Intel Corporation | ||
| 5 | * | 6 | * |
| 6 | * Portions of this file are derived from the ipw3945 project, as well | 7 | * Portions of this file are derived from the ipw3945 project, as well |
| 7 | * as portions of the ieee80211 subsystem header files. | 8 | * as portions of the ieee80211 subsystem header files. |
| @@ -15,10 +16,6 @@ | |||
| 15 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | 16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 16 | * more details. | 17 | * more details. |
| 17 | * | 18 | * |
| 18 | * You should have received a copy of the GNU General Public License along with | ||
| 19 | * this program; if not, write to the Free Software Foundation, Inc., | ||
| 20 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA | ||
| 21 | * | ||
| 22 | * The full GNU General Public License is included in this distribution in the | 19 | * The full GNU General Public License is included in this distribution in the |
| 23 | * file called LICENSE. | 20 | * file called LICENSE. |
| 24 | * | 21 | * |
| @@ -1200,16 +1197,16 @@ static int iwl_eeprom_init_hw_params(struct iwl_priv *priv) | |||
| 1200 | return -EINVAL; | 1197 | return -EINVAL; |
| 1201 | } | 1198 | } |
| 1202 | 1199 | ||
| 1203 | if (!data->sku_cap_11n_enable && !data->sku_cap_band_24GHz_enable && | 1200 | if (!data->sku_cap_11n_enable && !data->sku_cap_band_24ghz_enable && |
| 1204 | !data->sku_cap_band_52GHz_enable) { | 1201 | !data->sku_cap_band_52ghz_enable) { |
| 1205 | IWL_ERR(priv, "Invalid device sku\n"); | 1202 | IWL_ERR(priv, "Invalid device sku\n"); |
| 1206 | return -EINVAL; | 1203 | return -EINVAL; |
| 1207 | } | 1204 | } |
| 1208 | 1205 | ||
| 1209 | IWL_DEBUG_INFO(priv, | 1206 | IWL_DEBUG_INFO(priv, |
| 1210 | "Device SKU: 24GHz %s %s, 52GHz %s %s, 11.n %s %s\n", | 1207 | "Device SKU: 24GHz %s %s, 52GHz %s %s, 11.n %s %s\n", |
| 1211 | data->sku_cap_band_24GHz_enable ? "" : "NOT", "enabled", | 1208 | data->sku_cap_band_24ghz_enable ? "" : "NOT", "enabled", |
| 1212 | data->sku_cap_band_52GHz_enable ? "" : "NOT", "enabled", | 1209 | data->sku_cap_band_52ghz_enable ? "" : "NOT", "enabled", |
| 1213 | data->sku_cap_11n_enable ? "" : "NOT", "enabled"); | 1210 | data->sku_cap_11n_enable ? "" : "NOT", "enabled"); |
| 1214 | 1211 | ||
| 1215 | priv->hw_params.tx_chains_num = | 1212 | priv->hw_params.tx_chains_num = |
| @@ -1651,7 +1648,6 @@ static void iwl_dump_nic_error_log(struct iwl_priv *priv) | |||
| 1651 | priv->status, table.valid); | 1648 | priv->status, table.valid); |
| 1652 | } | 1649 | } |
| 1653 | 1650 | ||
| 1654 | trace_iwlwifi_dev_ucode_error(trans->dev, &table, 0, table.brd_ver); | ||
| 1655 | IWL_ERR(priv, "0x%08X | %-28s\n", table.error_id, | 1651 | IWL_ERR(priv, "0x%08X | %-28s\n", table.error_id, |
| 1656 | desc_lookup(table.error_id)); | 1652 | desc_lookup(table.error_id)); |
| 1657 | IWL_ERR(priv, "0x%08X | uPc\n", table.pc); | 1653 | IWL_ERR(priv, "0x%08X | uPc\n", table.pc); |
