diff options
author | Frans Pop <elendil@planet.nl> | 2010-03-24 17:19:58 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-02 15:53:54 -0400 |
commit | 91dd6c27a29f97d81d2f71651d3b6bb55a4c1788 (patch) | |
tree | a6406143c82e6bee37cf3f6e2146ba557c5fbe59 /drivers/net/wireless/iwlwifi | |
parent | b744cb79aec7d95905943c0bc64699eb02de143b (diff) |
iwlwifi: remove trailing space in messages
Includes minor improvements in debugging messages in iwl-4965.c,
function iwl4965_is_temp_calib_needed().
Signed-off-by: Frans Pop <elendil@planet.nl>
Cc: Zhu Yi <yi.zhu@intel.com>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: Intel Linux Wireless <ilw@linux.intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-rs.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-calib.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-hcmd.c | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-io.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-scan.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-sta.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-tx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 8 |
16 files changed, 36 insertions, 36 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c index 605aca4c78c8..9e411dc0e5e1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |||
@@ -341,7 +341,7 @@ void iwl3945_rs_rate_init(struct iwl_priv *priv, struct ieee80211_sta *sta, u8 s | |||
341 | struct ieee80211_supported_band *sband; | 341 | struct ieee80211_supported_band *sband; |
342 | int i; | 342 | int i; |
343 | 343 | ||
344 | IWL_DEBUG_INFO(priv, "enter \n"); | 344 | IWL_DEBUG_INFO(priv, "enter\n"); |
345 | if (sta_id == priv->hw_params.bcast_sta_id) | 345 | if (sta_id == priv->hw_params.bcast_sta_id) |
346 | goto out; | 346 | goto out; |
347 | 347 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 2c16c5c10bc5..e81577b1a253 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -486,7 +486,7 @@ static void _iwl3945_dbg_report_frame(struct iwl_priv *priv, | |||
486 | * but you can hack it to show more, if you'd like to. */ | 486 | * but you can hack it to show more, if you'd like to. */ |
487 | if (dataframe) | 487 | if (dataframe) |
488 | IWL_DEBUG_RX(priv, "%s: mhd=0x%04x, dst=0x%02x, " | 488 | IWL_DEBUG_RX(priv, "%s: mhd=0x%04x, dst=0x%02x, " |
489 | "len=%u, rssi=%d, chnl=%d, rate=%d, \n", | 489 | "len=%u, rssi=%d, chnl=%d, rate=%d,\n", |
490 | title, le16_to_cpu(fc), header->addr1[5], | 490 | title, le16_to_cpu(fc), header->addr1[5], |
491 | length, rssi, channel, rate); | 491 | length, rssi, channel, rate); |
492 | else { | 492 | else { |
@@ -998,7 +998,7 @@ static void iwl3945_nic_config(struct iwl_priv *priv) | |||
998 | IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", rev_id); | 998 | IWL_DEBUG_INFO(priv, "HW Revision ID = 0x%X\n", rev_id); |
999 | 999 | ||
1000 | if (rev_id & PCI_CFG_REV_ID_BIT_RTP) | 1000 | if (rev_id & PCI_CFG_REV_ID_BIT_RTP) |
1001 | IWL_DEBUG_INFO(priv, "RTP type \n"); | 1001 | IWL_DEBUG_INFO(priv, "RTP type\n"); |
1002 | else if (rev_id & PCI_CFG_REV_ID_BIT_BASIC_SKU) { | 1002 | else if (rev_id & PCI_CFG_REV_ID_BIT_BASIC_SKU) { |
1003 | IWL_DEBUG_INFO(priv, "3945 RADIO-MB type\n"); | 1003 | IWL_DEBUG_INFO(priv, "3945 RADIO-MB type\n"); |
1004 | iwl_set_bit(priv, CSR_HW_IF_CONFIG_REG, | 1004 | iwl_set_bit(priv, CSR_HW_IF_CONFIG_REG, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index a5122a60d631..9a220d415449 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -410,7 +410,7 @@ static void iwl4965_gain_computation(struct iwl_priv *priv, | |||
410 | sizeof(cmd), &cmd); | 410 | sizeof(cmd), &cmd); |
411 | if (ret) | 411 | if (ret) |
412 | IWL_DEBUG_CALIB(priv, "fail sending cmd " | 412 | IWL_DEBUG_CALIB(priv, "fail sending cmd " |
413 | "REPLY_PHY_CALIBRATION_CMD \n"); | 413 | "REPLY_PHY_CALIBRATION_CMD\n"); |
414 | 414 | ||
415 | /* TODO we might want recalculate | 415 | /* TODO we might want recalculate |
416 | * rx_chain in rxon cmd */ | 416 | * rx_chain in rxon cmd */ |
@@ -1612,19 +1612,19 @@ static int iwl4965_is_temp_calib_needed(struct iwl_priv *priv) | |||
1612 | 1612 | ||
1613 | /* get absolute value */ | 1613 | /* get absolute value */ |
1614 | if (temp_diff < 0) { | 1614 | if (temp_diff < 0) { |
1615 | IWL_DEBUG_POWER(priv, "Getting cooler, delta %d, \n", temp_diff); | 1615 | IWL_DEBUG_POWER(priv, "Getting cooler, delta %d\n", temp_diff); |
1616 | temp_diff = -temp_diff; | 1616 | temp_diff = -temp_diff; |
1617 | } else if (temp_diff == 0) | 1617 | } else if (temp_diff == 0) |
1618 | IWL_DEBUG_POWER(priv, "Same temp, \n"); | 1618 | IWL_DEBUG_POWER(priv, "Temperature unchanged\n"); |
1619 | else | 1619 | else |
1620 | IWL_DEBUG_POWER(priv, "Getting warmer, delta %d, \n", temp_diff); | 1620 | IWL_DEBUG_POWER(priv, "Getting warmer, delta %d\n", temp_diff); |
1621 | 1621 | ||
1622 | if (temp_diff < IWL_TEMPERATURE_THRESHOLD) { | 1622 | if (temp_diff < IWL_TEMPERATURE_THRESHOLD) { |
1623 | IWL_DEBUG_POWER(priv, "Thermal txpower calib not needed\n"); | 1623 | IWL_DEBUG_POWER(priv, " => thermal txpower calib not needed\n"); |
1624 | return 0; | 1624 | return 0; |
1625 | } | 1625 | } |
1626 | 1626 | ||
1627 | IWL_DEBUG_POWER(priv, "Thermal txpower calib needed\n"); | 1627 | IWL_DEBUG_POWER(priv, " => thermal txpower calib needed\n"); |
1628 | 1628 | ||
1629 | return 1; | 1629 | return 1; |
1630 | } | 1630 | } |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index 6fe1d937187b..49e20f1acb7c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |||
@@ -851,7 +851,7 @@ static void iwlagn_dbg_report_frame(struct iwl_priv *priv, | |||
851 | * but you can hack it to show more, if you'd like to. */ | 851 | * but you can hack it to show more, if you'd like to. */ |
852 | if (dataframe) | 852 | if (dataframe) |
853 | IWL_DEBUG_RX(priv, "%s: mhd=0x%04x, dst=0x%02x, " | 853 | IWL_DEBUG_RX(priv, "%s: mhd=0x%04x, dst=0x%02x, " |
854 | "len=%u, rssi=%d, chnl=%d, rate=%u, \n", | 854 | "len=%u, rssi=%d, chnl=%d, rate=%u,\n", |
855 | title, le16_to_cpu(fc), header->addr1[5], | 855 | title, le16_to_cpu(fc), header->addr1[5], |
856 | length, rssi, channel, bitrate); | 856 | length, rssi, channel, bitrate); |
857 | else { | 857 | else { |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c index bcae6a088106..0f881947627b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c | |||
@@ -2009,7 +2009,7 @@ static void rs_rate_scale_perform(struct iwl_priv *priv, | |||
2009 | /* rates available for this association, and for modulation mode */ | 2009 | /* rates available for this association, and for modulation mode */ |
2010 | rate_mask = rs_get_supported_rates(lq_sta, hdr, tbl->lq_type); | 2010 | rate_mask = rs_get_supported_rates(lq_sta, hdr, tbl->lq_type); |
2011 | 2011 | ||
2012 | IWL_DEBUG_RATE(priv, "mask 0x%04X \n", rate_mask); | 2012 | IWL_DEBUG_RATE(priv, "mask 0x%04X\n", rate_mask); |
2013 | 2013 | ||
2014 | /* mask with station rate restriction */ | 2014 | /* mask with station rate restriction */ |
2015 | if (is_legacy(tbl->lq_type)) { | 2015 | if (is_legacy(tbl->lq_type)) { |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c index ad6cb1b38eea..a76e14351b5a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c | |||
@@ -723,9 +723,9 @@ int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb) | |||
723 | tx_cmd->dram_lsb_ptr = cpu_to_le32(scratch_phys); | 723 | tx_cmd->dram_lsb_ptr = cpu_to_le32(scratch_phys); |
724 | tx_cmd->dram_msb_ptr = iwl_get_dma_hi_addr(scratch_phys); | 724 | tx_cmd->dram_msb_ptr = iwl_get_dma_hi_addr(scratch_phys); |
725 | 725 | ||
726 | IWL_DEBUG_TX(priv, "sequence nr = 0X%x \n", | 726 | IWL_DEBUG_TX(priv, "sequence nr = 0X%x\n", |
727 | le16_to_cpu(out_cmd->hdr.sequence)); | 727 | le16_to_cpu(out_cmd->hdr.sequence)); |
728 | IWL_DEBUG_TX(priv, "tx_flags = 0X%x \n", le32_to_cpu(tx_cmd->tx_flags)); | 728 | IWL_DEBUG_TX(priv, "tx_flags = 0X%x\n", le32_to_cpu(tx_cmd->tx_flags)); |
729 | iwl_print_hex_dump(priv, IWL_DL_TX, (u8 *)tx_cmd, sizeof(*tx_cmd)); | 729 | iwl_print_hex_dump(priv, IWL_DL_TX, (u8 *)tx_cmd, sizeof(*tx_cmd)); |
730 | iwl_print_hex_dump(priv, IWL_DL_TX, (u8 *)tx_cmd->hdr, hdr_len); | 730 | iwl_print_hex_dump(priv, IWL_DL_TX, (u8 *)tx_cmd->hdr, hdr_len); |
731 | 731 | ||
@@ -1289,7 +1289,7 @@ void iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv, | |||
1289 | (unsigned long long)le64_to_cpu(ba_resp->bitmap), | 1289 | (unsigned long long)le64_to_cpu(ba_resp->bitmap), |
1290 | ba_resp->scd_flow, | 1290 | ba_resp->scd_flow, |
1291 | ba_resp->scd_ssn); | 1291 | ba_resp->scd_ssn); |
1292 | IWL_DEBUG_TX_REPLY(priv, "DAT start_idx = %d, bitmap = 0x%llx \n", | 1292 | IWL_DEBUG_TX_REPLY(priv, "DAT start_idx = %d, bitmap = 0x%llx\n", |
1293 | agg->start_idx, | 1293 | agg->start_idx, |
1294 | (unsigned long long)agg->bitmap); | 1294 | (unsigned long long)agg->bitmap); |
1295 | 1295 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index ef5690a83b35..629cbf38aa9b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -181,7 +181,7 @@ int iwl_commit_rxon(struct iwl_priv *priv) | |||
181 | IWL_ERR(priv, "Error setting new RXON (%d)\n", ret); | 181 | IWL_ERR(priv, "Error setting new RXON (%d)\n", ret); |
182 | return ret; | 182 | return ret; |
183 | } | 183 | } |
184 | IWL_DEBUG_INFO(priv, "Return from !new_assoc RXON. \n"); | 184 | IWL_DEBUG_INFO(priv, "Return from !new_assoc RXON.\n"); |
185 | memcpy(active_rxon, &priv->staging_rxon, sizeof(*active_rxon)); | 185 | memcpy(active_rxon, &priv->staging_rxon, sizeof(*active_rxon)); |
186 | iwl_clear_ucode_stations(priv, false); | 186 | iwl_clear_ucode_stations(priv, false); |
187 | iwl_restore_stations(priv); | 187 | iwl_restore_stations(priv); |
@@ -2303,7 +2303,7 @@ static int iwl_prepare_card_hw(struct iwl_priv *priv) | |||
2303 | { | 2303 | { |
2304 | int ret = 0; | 2304 | int ret = 0; |
2305 | 2305 | ||
2306 | IWL_DEBUG_INFO(priv, "iwl_prepare_card_hw enter \n"); | 2306 | IWL_DEBUG_INFO(priv, "iwl_prepare_card_hw enter\n"); |
2307 | 2307 | ||
2308 | ret = iwl_set_hw_ready(priv); | 2308 | ret = iwl_set_hw_ready(priv); |
2309 | if (priv->hw_ready) | 2309 | if (priv->hw_ready) |
@@ -3067,7 +3067,7 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw, | |||
3067 | iwl_restore_wepkeys(priv); | 3067 | iwl_restore_wepkeys(priv); |
3068 | 3068 | ||
3069 | /* Initialize rate scaling */ | 3069 | /* Initialize rate scaling */ |
3070 | IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM \n", | 3070 | IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n", |
3071 | sta->addr); | 3071 | sta->addr); |
3072 | iwl_rs_rate_init(priv, sta, sta_id); | 3072 | iwl_rs_rate_init(priv, sta, sta_id); |
3073 | 3073 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-calib.c b/drivers/net/wireless/iwlwifi/iwl-calib.c index 845831ac053e..dbb50a8e0ce3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-calib.c +++ b/drivers/net/wireless/iwlwifi/iwl-calib.c | |||
@@ -592,7 +592,7 @@ void iwl_sensitivity_calibration(struct iwl_priv *priv, | |||
592 | IWL_DEBUG_CALIB(priv, "rx_enable_time = %u usecs\n", rx_enable_time); | 592 | IWL_DEBUG_CALIB(priv, "rx_enable_time = %u usecs\n", rx_enable_time); |
593 | 593 | ||
594 | if (!rx_enable_time) { | 594 | if (!rx_enable_time) { |
595 | IWL_DEBUG_CALIB(priv, "<< RX Enable Time == 0! \n"); | 595 | IWL_DEBUG_CALIB(priv, "<< RX Enable Time == 0!\n"); |
596 | return; | 596 | return; |
597 | } | 597 | } |
598 | 598 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index ff7f5c7b8961..f09bff823ab6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -1801,7 +1801,7 @@ static void iwl_ht_conf(struct iwl_priv *priv, | |||
1801 | struct iwl_ht_config *ht_conf = &priv->current_ht_config; | 1801 | struct iwl_ht_config *ht_conf = &priv->current_ht_config; |
1802 | struct ieee80211_sta *sta; | 1802 | struct ieee80211_sta *sta; |
1803 | 1803 | ||
1804 | IWL_DEBUG_MAC80211(priv, "enter: \n"); | 1804 | IWL_DEBUG_MAC80211(priv, "enter:\n"); |
1805 | 1805 | ||
1806 | if (!ht_conf->is_ht) | 1806 | if (!ht_conf->is_ht) |
1807 | return; | 1807 | return; |
@@ -2366,7 +2366,7 @@ int iwl_alloc_txq_mem(struct iwl_priv *priv) | |||
2366 | sizeof(struct iwl_tx_queue) * priv->cfg->num_of_queues, | 2366 | sizeof(struct iwl_tx_queue) * priv->cfg->num_of_queues, |
2367 | GFP_KERNEL); | 2367 | GFP_KERNEL); |
2368 | if (!priv->txq) { | 2368 | if (!priv->txq) { |
2369 | IWL_ERR(priv, "Not enough memory for txq \n"); | 2369 | IWL_ERR(priv, "Not enough memory for txq\n"); |
2370 | return -ENOMEM; | 2370 | return -ENOMEM; |
2371 | } | 2371 | } |
2372 | return 0; | 2372 | return 0; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-hcmd.c b/drivers/net/wireless/iwlwifi/iwl-hcmd.c index 73681c4fefe7..51f89e7ba681 100644 --- a/drivers/net/wireless/iwlwifi/iwl-hcmd.c +++ b/drivers/net/wireless/iwlwifi/iwl-hcmd.c | |||
@@ -169,7 +169,7 @@ int iwl_send_cmd_sync(struct iwl_priv *priv, struct iwl_host_cmd *cmd) | |||
169 | mutex_lock(&priv->sync_cmd_mutex); | 169 | mutex_lock(&priv->sync_cmd_mutex); |
170 | 170 | ||
171 | set_bit(STATUS_HCMD_ACTIVE, &priv->status); | 171 | set_bit(STATUS_HCMD_ACTIVE, &priv->status); |
172 | IWL_DEBUG_INFO(priv, "Setting HCMD_ACTIVE for command %s \n", | 172 | IWL_DEBUG_INFO(priv, "Setting HCMD_ACTIVE for command %s\n", |
173 | get_cmd_string(cmd->id)); | 173 | get_cmd_string(cmd->id)); |
174 | 174 | ||
175 | cmd_idx = iwl_enqueue_hcmd(priv, cmd); | 175 | cmd_idx = iwl_enqueue_hcmd(priv, cmd); |
@@ -191,7 +191,7 @@ int iwl_send_cmd_sync(struct iwl_priv *priv, struct iwl_host_cmd *cmd) | |||
191 | jiffies_to_msecs(HOST_COMPLETE_TIMEOUT)); | 191 | jiffies_to_msecs(HOST_COMPLETE_TIMEOUT)); |
192 | 192 | ||
193 | clear_bit(STATUS_HCMD_ACTIVE, &priv->status); | 193 | clear_bit(STATUS_HCMD_ACTIVE, &priv->status); |
194 | IWL_DEBUG_INFO(priv, "Clearing HCMD_ACTIVE for command %s \n", | 194 | IWL_DEBUG_INFO(priv, "Clearing HCMD_ACTIVE for command %s\n", |
195 | get_cmd_string(cmd->id)); | 195 | get_cmd_string(cmd->id)); |
196 | ret = -ETIMEDOUT; | 196 | ret = -ETIMEDOUT; |
197 | goto cancel; | 197 | goto cancel; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-io.h b/drivers/net/wireless/iwlwifi/iwl-io.h index c719baf2585a..4f54a5f71cd5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-io.h +++ b/drivers/net/wireless/iwlwifi/iwl-io.h | |||
@@ -297,7 +297,7 @@ static inline u32 __iwl_read_direct32(const char *f, u32 l, | |||
297 | struct iwl_priv *priv, u32 reg) | 297 | struct iwl_priv *priv, u32 reg) |
298 | { | 298 | { |
299 | u32 value = _iwl_read_direct32(priv, reg); | 299 | u32 value = _iwl_read_direct32(priv, reg); |
300 | IWL_DEBUG_IO(priv, "read_direct32(0x%4X) = 0x%08x - %s %d \n", reg, value, | 300 | IWL_DEBUG_IO(priv, "read_direct32(0x%4X) = 0x%08x - %s %d\n", reg, value, |
301 | f, l); | 301 | f, l); |
302 | return value; | 302 | return value; |
303 | } | 303 | } |
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index e0581a771aab..2655dbdc8175 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c | |||
@@ -874,7 +874,7 @@ void iwl_tt_initialize(struct iwl_priv *priv) | |||
874 | int size = sizeof(struct iwl_tt_trans) * (IWL_TI_STATE_MAX - 1); | 874 | int size = sizeof(struct iwl_tt_trans) * (IWL_TI_STATE_MAX - 1); |
875 | struct iwl_tt_trans *transaction; | 875 | struct iwl_tt_trans *transaction; |
876 | 876 | ||
877 | IWL_DEBUG_POWER(priv, "Initialize Thermal Throttling \n"); | 877 | IWL_DEBUG_POWER(priv, "Initialize Thermal Throttling\n"); |
878 | 878 | ||
879 | memset(tt, 0, sizeof(struct iwl_tt_mgmt)); | 879 | memset(tt, 0, sizeof(struct iwl_tt_mgmt)); |
880 | 880 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c index 5ecfc7f6ff43..0daa1c9f1c6b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c | |||
@@ -453,7 +453,7 @@ static int iwl_get_channels_for_scan(struct iwl_priv *priv, | |||
453 | added++; | 453 | added++; |
454 | } | 454 | } |
455 | 455 | ||
456 | IWL_DEBUG_SCAN(priv, "total channels to scan %d \n", added); | 456 | IWL_DEBUG_SCAN(priv, "total channels to scan %d\n", added); |
457 | return added; | 457 | return added; |
458 | } | 458 | } |
459 | 459 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c index 9c28ad7a2de1..e34ac0355c75 100644 --- a/drivers/net/wireless/iwlwifi/iwl-sta.c +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c | |||
@@ -71,7 +71,7 @@ u8 iwl_find_station(struct iwl_priv *priv, const u8 *addr) | |||
71 | (!(priv->stations[ret].used & IWL_STA_UCODE_ACTIVE) || | 71 | (!(priv->stations[ret].used & IWL_STA_UCODE_ACTIVE) || |
72 | ((priv->stations[ret].used & IWL_STA_UCODE_ACTIVE) && | 72 | ((priv->stations[ret].used & IWL_STA_UCODE_ACTIVE) && |
73 | (priv->stations[ret].used & IWL_STA_UCODE_INPROGRESS)))) { | 73 | (priv->stations[ret].used & IWL_STA_UCODE_INPROGRESS)))) { |
74 | IWL_ERR(priv, "Requested station info for sta %d before ready. \n", | 74 | IWL_ERR(priv, "Requested station info for sta %d before ready.\n", |
75 | ret); | 75 | ret); |
76 | ret = IWL_INVALID_STATION; | 76 | ret = IWL_INVALID_STATION; |
77 | } | 77 | } |
@@ -143,7 +143,7 @@ static void iwl_process_add_sta_resp(struct iwl_priv *priv, | |||
143 | sta_id); | 143 | sta_id); |
144 | break; | 144 | break; |
145 | case ADD_STA_MODIFY_NON_EXIST_STA: | 145 | case ADD_STA_MODIFY_NON_EXIST_STA: |
146 | IWL_ERR(priv, "Attempting to modify non-existing station %d \n", | 146 | IWL_ERR(priv, "Attempting to modify non-existing station %d\n", |
147 | sta_id); | 147 | sta_id); |
148 | break; | 148 | break; |
149 | default: | 149 | default: |
@@ -571,7 +571,7 @@ static int iwl_remove_station(struct iwl_priv *priv, struct ieee80211_sta *sta) | |||
571 | 571 | ||
572 | if (!iwl_is_ready(priv)) { | 572 | if (!iwl_is_ready(priv)) { |
573 | IWL_DEBUG_INFO(priv, | 573 | IWL_DEBUG_INFO(priv, |
574 | "Unable to remove station %pM, device not ready. \n", | 574 | "Unable to remove station %pM, device not ready.\n", |
575 | sta->addr); | 575 | sta->addr); |
576 | /* | 576 | /* |
577 | * It is typical for stations to be removed when we are | 577 | * It is typical for stations to be removed when we are |
@@ -668,7 +668,7 @@ void iwl_clear_ucode_stations(struct iwl_priv *priv, bool force) | |||
668 | } else { | 668 | } else { |
669 | for (i = 0; i < priv->hw_params.max_stations; i++) { | 669 | for (i = 0; i < priv->hw_params.max_stations; i++) { |
670 | if (priv->stations[i].used & IWL_STA_UCODE_ACTIVE) { | 670 | if (priv->stations[i].used & IWL_STA_UCODE_ACTIVE) { |
671 | IWL_DEBUG_INFO(priv, "Clearing ucode active for station %d \n", i); | 671 | IWL_DEBUG_INFO(priv, "Clearing ucode active for station %d\n", i); |
672 | priv->stations[i].used &= ~IWL_STA_UCODE_ACTIVE; | 672 | priv->stations[i].used &= ~IWL_STA_UCODE_ACTIVE; |
673 | cleared = true; | 673 | cleared = true; |
674 | } | 674 | } |
@@ -1105,7 +1105,7 @@ int iwl_remove_dynamic_key(struct iwl_priv *priv, | |||
1105 | priv->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK; | 1105 | priv->stations[sta_id].sta.mode = STA_CONTROL_MODIFY_MSK; |
1106 | 1106 | ||
1107 | if (iwl_is_rfkill(priv)) { | 1107 | if (iwl_is_rfkill(priv)) { |
1108 | IWL_DEBUG_WEP(priv, "Not sending REPLY_ADD_STA command because RFKILL enabled. \n"); | 1108 | IWL_DEBUG_WEP(priv, "Not sending REPLY_ADD_STA command because RFKILL enabled.\n"); |
1109 | spin_unlock_irqrestore(&priv->sta_lock, flags); | 1109 | spin_unlock_irqrestore(&priv->sta_lock, flags); |
1110 | return 0; | 1110 | return 0; |
1111 | } | 1111 | } |
@@ -1207,7 +1207,7 @@ int iwl_send_lq_cmd(struct iwl_priv *priv, | |||
1207 | return ret; | 1207 | return ret; |
1208 | 1208 | ||
1209 | if (init) { | 1209 | if (init) { |
1210 | IWL_DEBUG_INFO(priv, "init LQ command complete, clearing sta addition status for sta %d \n", | 1210 | IWL_DEBUG_INFO(priv, "init LQ command complete, clearing sta addition status for sta %d\n", |
1211 | lq->sta_id); | 1211 | lq->sta_id); |
1212 | spin_lock_irqsave(&priv->sta_lock, flags_spin); | 1212 | spin_lock_irqsave(&priv->sta_lock, flags_spin); |
1213 | priv->stations[lq->sta_id].used &= ~IWL_STA_UCODE_INPROGRESS; | 1213 | priv->stations[lq->sta_id].used &= ~IWL_STA_UCODE_INPROGRESS; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c index 91f9c89b1b6d..65090d386a53 100644 --- a/drivers/net/wireless/iwlwifi/iwl-tx.c +++ b/drivers/net/wireless/iwlwifi/iwl-tx.c | |||
@@ -579,7 +579,7 @@ void iwl_tx_cmd_complete(struct iwl_priv *priv, struct iwl_rx_mem_buffer *rxb) | |||
579 | 579 | ||
580 | if (!(meta->flags & CMD_ASYNC)) { | 580 | if (!(meta->flags & CMD_ASYNC)) { |
581 | clear_bit(STATUS_HCMD_ACTIVE, &priv->status); | 581 | clear_bit(STATUS_HCMD_ACTIVE, &priv->status); |
582 | IWL_DEBUG_INFO(priv, "Clearing HCMD_ACTIVE for command %s \n", | 582 | IWL_DEBUG_INFO(priv, "Clearing HCMD_ACTIVE for command %s\n", |
583 | get_cmd_string(cmd->hdr.cmd)); | 583 | get_cmd_string(cmd->hdr.cmd)); |
584 | wake_up_interruptible(&priv->wait_command_queue); | 584 | wake_up_interruptible(&priv->wait_command_queue); |
585 | } | 585 | } |
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 24c240d53f5c..4d0394b3fb59 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -597,9 +597,9 @@ static int iwl3945_tx_skb(struct iwl_priv *priv, struct sk_buff *skb) | |||
597 | txq->need_update = 0; | 597 | txq->need_update = 0; |
598 | } | 598 | } |
599 | 599 | ||
600 | IWL_DEBUG_TX(priv, "sequence nr = 0X%x \n", | 600 | IWL_DEBUG_TX(priv, "sequence nr = 0X%x\n", |
601 | le16_to_cpu(out_cmd->hdr.sequence)); | 601 | le16_to_cpu(out_cmd->hdr.sequence)); |
602 | IWL_DEBUG_TX(priv, "tx_flags = 0X%x \n", le32_to_cpu(tx_cmd->tx_flags)); | 602 | IWL_DEBUG_TX(priv, "tx_flags = 0X%x\n", le32_to_cpu(tx_cmd->tx_flags)); |
603 | iwl_print_hex_dump(priv, IWL_DL_TX, tx_cmd, sizeof(*tx_cmd)); | 603 | iwl_print_hex_dump(priv, IWL_DL_TX, tx_cmd, sizeof(*tx_cmd)); |
604 | iwl_print_hex_dump(priv, IWL_DL_TX, (u8 *)tx_cmd->hdr, | 604 | iwl_print_hex_dump(priv, IWL_DL_TX, (u8 *)tx_cmd->hdr, |
605 | ieee80211_hdrlen(fc)); | 605 | ieee80211_hdrlen(fc)); |
@@ -1937,7 +1937,7 @@ static int iwl3945_get_channels_for_scan(struct iwl_priv *priv, | |||
1937 | added++; | 1937 | added++; |
1938 | } | 1938 | } |
1939 | 1939 | ||
1940 | IWL_DEBUG_SCAN(priv, "total channels to scan %d \n", added); | 1940 | IWL_DEBUG_SCAN(priv, "total channels to scan %d\n", added); |
1941 | return added; | 1941 | return added; |
1942 | } | 1942 | } |
1943 | 1943 | ||
@@ -3401,7 +3401,7 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw, | |||
3401 | } | 3401 | } |
3402 | 3402 | ||
3403 | /* Initialize rate scaling */ | 3403 | /* Initialize rate scaling */ |
3404 | IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM \n", | 3404 | IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n", |
3405 | sta->addr); | 3405 | sta->addr); |
3406 | iwl3945_rs_rate_init(priv, sta, sta_id); | 3406 | iwl3945_rs_rate_init(priv, sta, sta_id); |
3407 | 3407 | ||