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-debugfs.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-debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c index d5f9df176bab..da6dcb20b5e8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c | |||
@@ -385,11 +385,9 @@ int iwl_dbgfs_register(struct iwl_priv *priv, const char *name) | |||
385 | DEBUGFS_ADD_FILE(stations, data); | 385 | DEBUGFS_ADD_FILE(stations, data); |
386 | DEBUGFS_ADD_FILE(rx_statistics, data); | 386 | DEBUGFS_ADD_FILE(rx_statistics, data); |
387 | DEBUGFS_ADD_FILE(tx_statistics, data); | 387 | DEBUGFS_ADD_FILE(tx_statistics, data); |
388 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB | ||
389 | DEBUGFS_ADD_BOOL(disable_sensitivity, rf, &priv->disable_sens_cal); | 388 | DEBUGFS_ADD_BOOL(disable_sensitivity, rf, &priv->disable_sens_cal); |
390 | DEBUGFS_ADD_BOOL(disable_chain_noise, rf, | 389 | DEBUGFS_ADD_BOOL(disable_chain_noise, rf, |
391 | &priv->disable_chain_noise_cal); | 390 | &priv->disable_chain_noise_cal); |
392 | #endif /* CONFIG_IWLWIFI_RUN_TIME_CALIB */ | ||
393 | return 0; | 391 | return 0; |
394 | 392 | ||
395 | err: | 393 | err: |
@@ -415,10 +413,8 @@ void iwl_dbgfs_unregister(struct iwl_priv *priv) | |||
415 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_data_files.file_log_event); | 413 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_data_files.file_log_event); |
416 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_data_files.file_stations); | 414 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_data_files.file_stations); |
417 | DEBUGFS_REMOVE(priv->dbgfs->dir_data); | 415 | DEBUGFS_REMOVE(priv->dbgfs->dir_data); |
418 | #ifdef CONFIG_IWLWIFI_RUN_TIME_CALIB | ||
419 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_rf_files.file_disable_sensitivity); | 416 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_rf_files.file_disable_sensitivity); |
420 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_rf_files.file_disable_chain_noise); | 417 | DEBUGFS_REMOVE(priv->dbgfs->dbgfs_rf_files.file_disable_chain_noise); |
421 | #endif /* CONFIG_IWLWIFI_RUN_TIME_CALIB */ | ||
422 | DEBUGFS_REMOVE(priv->dbgfs->dir_rf); | 418 | DEBUGFS_REMOVE(priv->dbgfs->dir_rf); |
423 | DEBUGFS_REMOVE(priv->dbgfs->dir_drv); | 419 | DEBUGFS_REMOVE(priv->dbgfs->dir_drv); |
424 | kfree(priv->dbgfs); | 420 | kfree(priv->dbgfs); |