aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/4965-calib.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 08:51:01 -0500
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 08:51:01 -0500
commit1722f8e12a9c6117d872bd19ec5919460ccdfb4e (patch)
tree8f40a7240155e074c1a8f01927821c4a16eabe70 /drivers/net/wireless/iwlegacy/4965-calib.c
parente7392364fcd1004a5e495f15cf21b1e0ef874215 (diff)
iwlegacy: checkpatch.pl fixes
Fix most checkpatch.pl ERRORs and some WARNINGs. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/4965-calib.c')
-rw-r--r--drivers/net/wireless/iwlegacy/4965-calib.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-calib.c b/drivers/net/wireless/iwlegacy/4965-calib.c
index efb32331ec88..d3248e3ef23b 100644
--- a/drivers/net/wireless/iwlegacy/4965-calib.c
+++ b/drivers/net/wireless/iwlegacy/4965-calib.c
@@ -366,7 +366,7 @@ il4965_sens_auto_corr_ofdm(struct il_priv *il, u32 norm_fa, u32 rx_enable_time)
366static void 366static void
367il4965_prepare_legacy_sensitivity_tbl(struct il_priv *il, 367il4965_prepare_legacy_sensitivity_tbl(struct il_priv *il,
368 struct il_sensitivity_data *data, 368 struct il_sensitivity_data *data,
369 __le16 * tbl) 369 __le16 *tbl)
370{ 370{
371 tbl[HD_AUTO_CORR32_X4_TH_ADD_MIN_IDX] = 371 tbl[HD_AUTO_CORR32_X4_TH_ADD_MIN_IDX] =
372 cpu_to_le16((u16) data->auto_corr_ofdm); 372 cpu_to_le16((u16) data->auto_corr_ofdm);
@@ -707,9 +707,8 @@ il4965_find_disconn_antenna(struct il_priv *il, u32 * average_sig,
707 il4965_find_first_chain(il->cfg->valid_tx_ant); 707 il4965_find_first_chain(il->cfg->valid_tx_ant);
708 data->disconn_array[first_chain] = 0; 708 data->disconn_array[first_chain] = 0;
709 active_chains |= BIT(first_chain); 709 active_chains |= BIT(first_chain);
710 D_CALIB 710 D_CALIB("All Tx chains are disconnected"
711 ("All Tx chains are disconnected W/A - declare %d as connected\n", 711 "- declare %d as connected\n", first_chain);
712 first_chain);
713 break; 712 break;
714 } 713 }
715 } 714 }