diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-06-11 21:46:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-14 12:18:04 -0400 |
commit | 16e727e866d739d7f02790c794410f6d9f1d720b (patch) | |
tree | 88a6bbf3e8e3135bfc6b3f4a58c6421c2a81643c /drivers/net/wireless/iwlwifi/iwl-rx.c | |
parent | a78a83255651acff8234975b5c7b6cd19d717f3f (diff) |
iwlwifi: removes the RUN_TIME_CALIB ifdef
This patch removes the possibility not to compile the run time
calibrations. It also renames priv->sensitivity_work to
priv->run_time_calib_work, and moves bg_run_time_calib to iwl4965_base
since it is common to both: 4965 and 5000.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-rx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-rx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-rx.c b/drivers/net/wireless/iwlwifi/iwl-rx.c index cc61c937320f..c24844802a88 100644 --- a/drivers/net/wireless/iwlwifi/iwl-rx.c +++ b/drivers/net/wireless/iwlwifi/iwl-rx.c | |||
@@ -451,7 +451,6 @@ void iwl_rx_missed_beacon_notif(struct iwl_priv *priv, | |||
451 | struct iwl_rx_mem_buffer *rxb) | 451 | struct iwl_rx_mem_buffer *rxb) |
452 | 452 | ||
453 | { | 453 | { |
454 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB | ||
455 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; | 454 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; |
456 | struct iwl4965_missed_beacon_notif *missed_beacon; | 455 | struct iwl4965_missed_beacon_notif *missed_beacon; |
457 | 456 | ||
@@ -465,6 +464,5 @@ void iwl_rx_missed_beacon_notif(struct iwl_priv *priv, | |||
465 | if (!test_bit(STATUS_SCANNING, &priv->status)) | 464 | if (!test_bit(STATUS_SCANNING, &priv->status)) |
466 | iwl_init_sensitivity(priv); | 465 | iwl_init_sensitivity(priv); |
467 | } | 466 | } |
468 | #endif /* CONFIG_IWLWIFI_RUN_TIME_CALIB */ | ||
469 | } | 467 | } |
470 | EXPORT_SYMBOL(iwl_rx_missed_beacon_notif); | 468 | EXPORT_SYMBOL(iwl_rx_missed_beacon_notif); |