summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/4965-calib.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-02-03 17:31:37 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-02-06 14:55:55 -0500
commitc8b03958d4b23dc48932ec095a391f3d6447e0e9 (patch)
treefdc4b320476f9be764586387c52f13dfd740a8c1 /drivers/net/wireless/iwlegacy/4965-calib.c
parentcaf60a6c957e7a35837a41f845e57b4433e20276 (diff)
downloadop-kernel-dev-c8b03958d4b23dc48932ec095a391f3d6447e0e9.zip
op-kernel-dev-c8b03958d4b23dc48932ec095a391f3d6447e0e9.tar.gz
iwlegacy: move rxon commands out of ctx structure
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-calib.c')
-rw-r--r--drivers/net/wireless/iwlegacy/4965-calib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-calib.c b/drivers/net/wireless/iwlegacy/4965-calib.c
index d3248e3..f302a6a 100644
--- a/drivers/net/wireless/iwlegacy/4965-calib.c
+++ b/drivers/net/wireless/iwlegacy/4965-calib.c
@@ -806,8 +806,6 @@ il4965_chain_noise_calibration(struct il_priv *il, void *stat_resp)
unsigned long flags;
struct stats_rx_non_phy *rx_info;
- struct il_rxon_context *ctx = &il->ctx;
-
if (il->disable_chain_noise_cal)
return;
@@ -833,8 +831,8 @@ il4965_chain_noise_calibration(struct il_priv *il, void *stat_resp)
return;
}
- rxon_band24 = !!(ctx->staging.flags & RXON_FLG_BAND_24G_MSK);
- rxon_chnum = le16_to_cpu(ctx->staging.channel);
+ rxon_band24 = !!(il->staging.flags & RXON_FLG_BAND_24G_MSK);
+ rxon_chnum = le16_to_cpu(il->staging.channel);
stat_band24 =
!!(((struct il_notif_stats *)stat_resp)->
OpenPOWER on IntegriCloud