Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183277
b: refs/heads/master
c: 4309af2
h: refs/heads/master
i:
  183275: 4ed9293
v: v3
  • Loading branch information
Wey-Yi Guy authored and John W. Linville committed Dec 21, 2009
1 parent 8456464 commit 541318a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b03d7d0fd3d23b7cf130fa702f4ae3b1bc827d4b
refs/heads/master: 4309af2735825115a982acf4c2c868b5c5671e7f
7 changes: 1 addition & 6 deletions trunk/drivers/net/wireless/iwlwifi/iwl-calib.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ static int iwl_sens_auto_corr_ofdm(struct iwl_priv *priv,
/* Prepare a SENSITIVITY_CMD, send to uCode if values have changed */
static int iwl_sensitivity_write(struct iwl_priv *priv)
{
int ret = 0;
struct iwl_sensitivity_cmd cmd ;
struct iwl_sensitivity_data *data = NULL;
struct iwl_host_cmd cmd_out = {
Expand Down Expand Up @@ -477,11 +476,7 @@ static int iwl_sensitivity_write(struct iwl_priv *priv)
memcpy(&(priv->sensitivity_tbl[0]), &(cmd.table[0]),
sizeof(u16)*HD_TABLE_SIZE);

ret = iwl_send_cmd(priv, &cmd_out);
if (ret)
IWL_ERR(priv, "SENSITIVITY_CMD failed\n");

return ret;
return iwl_send_cmd(priv, &cmd_out);
}

void iwl_init_sensitivity(struct iwl_priv *priv)
Expand Down

0 comments on commit 541318a

Please sign in to comment.