diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-03 11:31:38 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:55:55 -0500 |
commit | 6122d18236837ed7f264632e6b27d5cb3005add2 (patch) | |
tree | fc5a75841751109e35900becfb0d5fb1c882d9ff /drivers/net/wireless/iwlegacy/4965.c | |
parent | c8b03958d4b23dc48932ec095a391f3d6447e0e9 (diff) |
iwlegacy: get rid of ctx->rxon_cmd
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/4965.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965.c b/drivers/net/wireless/iwlegacy/4965.c index b34de1433123..8926108118f6 100644 --- a/drivers/net/wireless/iwlegacy/4965.c +++ b/drivers/net/wireless/iwlegacy/4965.c | |||
@@ -1472,7 +1472,7 @@ il4965_commit_rxon(struct il_priv *il, struct il_rxon_context *ctx) | |||
1472 | active_rxon->filter_flags &= ~RXON_FILTER_ASSOC_MSK; | 1472 | active_rxon->filter_flags &= ~RXON_FILTER_ASSOC_MSK; |
1473 | 1473 | ||
1474 | ret = | 1474 | ret = |
1475 | il_send_cmd_pdu(il, ctx->rxon_cmd, | 1475 | il_send_cmd_pdu(il, C_RXON, |
1476 | sizeof(struct il_rxon_cmd), active_rxon); | 1476 | sizeof(struct il_rxon_cmd), active_rxon); |
1477 | 1477 | ||
1478 | /* If the mask clearing failed then we set | 1478 | /* If the mask clearing failed then we set |
@@ -1503,7 +1503,7 @@ il4965_commit_rxon(struct il_priv *il, struct il_rxon_context *ctx) | |||
1503 | */ | 1503 | */ |
1504 | if (!new_assoc) { | 1504 | if (!new_assoc) { |
1505 | ret = | 1505 | ret = |
1506 | il_send_cmd_pdu(il, ctx->rxon_cmd, | 1506 | il_send_cmd_pdu(il, C_RXON, |
1507 | sizeof(struct il_rxon_cmd), &il->staging); | 1507 | sizeof(struct il_rxon_cmd), &il->staging); |
1508 | if (ret) { | 1508 | if (ret) { |
1509 | IL_ERR("Error setting new RXON (%d)\n", ret); | 1509 | IL_ERR("Error setting new RXON (%d)\n", ret); |
@@ -1525,7 +1525,7 @@ il4965_commit_rxon(struct il_priv *il, struct il_rxon_context *ctx) | |||
1525 | * RXON assoc doesn't clear the station table in uCode, | 1525 | * RXON assoc doesn't clear the station table in uCode, |
1526 | */ | 1526 | */ |
1527 | ret = | 1527 | ret = |
1528 | il_send_cmd_pdu(il, ctx->rxon_cmd, | 1528 | il_send_cmd_pdu(il, C_RXON, |
1529 | sizeof(struct il_rxon_cmd), &il->staging); | 1529 | sizeof(struct il_rxon_cmd), &il->staging); |
1530 | if (ret) { | 1530 | if (ret) { |
1531 | IL_ERR("Error setting new RXON (%d)\n", ret); | 1531 | IL_ERR("Error setting new RXON (%d)\n", ret); |