diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-10-06 10:42:43 -0400 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-10-06 10:42:43 -0400 |
commit | 72645eff4b2ad6cf2b016b54f9d6817cca0a621d (patch) | |
tree | 08ac795c6acfca113d492529333df43af2c6df17 /drivers | |
parent | 46bf695802bb090d9d0d0fec6bb5b46c24b17d4e (diff) |
iwlwifi: schedule to deprecate software scan support
Hardware scan is the prefer method for all iwlwifi devices;
especially for dual-mode functions. Schedule to deprecate the
software scan support in kernel 2.6.40
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl3945-base.c | 5 |
2 files changed, 7 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index e23c554b73a8..e7dc8b92db66 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -4296,9 +4296,8 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
4296 | /* Disabling hardware scan means that mac80211 will perform scans | 4296 | /* Disabling hardware scan means that mac80211 will perform scans |
4297 | * "the hard way", rather than using device's scan. */ | 4297 | * "the hard way", rather than using device's scan. */ |
4298 | if (cfg->mod_params->disable_hw_scan) { | 4298 | if (cfg->mod_params->disable_hw_scan) { |
4299 | if (iwl_debug_level & IWL_DL_INFO) | 4299 | dev_printk(KERN_DEBUG, &(pdev->dev), |
4300 | dev_printk(KERN_DEBUG, &(pdev->dev), | 4300 | "sw scan support is deprecated\n"); |
4301 | "Disabling hw_scan\n"); | ||
4302 | iwl_hw_ops.hw_scan = NULL; | 4301 | iwl_hw_ops.hw_scan = NULL; |
4303 | } | 4302 | } |
4304 | 4303 | ||
@@ -4905,7 +4904,8 @@ module_param_named(fw_restart, iwlagn_mod_params.restart_fw, int, S_IRUGO); | |||
4905 | MODULE_PARM_DESC(fw_restart, "restart firmware in case of error"); | 4904 | MODULE_PARM_DESC(fw_restart, "restart firmware in case of error"); |
4906 | module_param_named( | 4905 | module_param_named( |
4907 | disable_hw_scan, iwlagn_mod_params.disable_hw_scan, int, S_IRUGO); | 4906 | disable_hw_scan, iwlagn_mod_params.disable_hw_scan, int, S_IRUGO); |
4908 | MODULE_PARM_DESC(disable_hw_scan, "disable hardware scanning (default 0)"); | 4907 | MODULE_PARM_DESC(disable_hw_scan, |
4908 | "disable hardware scanning (default 0) (deprecated)"); | ||
4909 | 4909 | ||
4910 | module_param_named(ucode_alternative, iwlagn_wanted_ucode_alternative, int, | 4910 | module_param_named(ucode_alternative, iwlagn_wanted_ucode_alternative, int, |
4911 | S_IRUGO); | 4911 | S_IRUGO); |
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c index 116777122a79..8b6aa3d38db0 100644 --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c | |||
@@ -3966,7 +3966,7 @@ static int iwl3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e | |||
3966 | * "the hard way", rather than using device's scan. | 3966 | * "the hard way", rather than using device's scan. |
3967 | */ | 3967 | */ |
3968 | if (iwl3945_mod_params.disable_hw_scan) { | 3968 | if (iwl3945_mod_params.disable_hw_scan) { |
3969 | IWL_DEBUG_INFO(priv, "Disabling hw_scan\n"); | 3969 | IWL_ERR(priv, "sw scan support is deprecated\n"); |
3970 | iwl3945_hw_ops.hw_scan = NULL; | 3970 | iwl3945_hw_ops.hw_scan = NULL; |
3971 | } | 3971 | } |
3972 | 3972 | ||
@@ -4291,7 +4291,8 @@ MODULE_PARM_DESC(debug, "debug output mask"); | |||
4291 | #endif | 4291 | #endif |
4292 | module_param_named(disable_hw_scan, iwl3945_mod_params.disable_hw_scan, | 4292 | module_param_named(disable_hw_scan, iwl3945_mod_params.disable_hw_scan, |
4293 | int, S_IRUGO); | 4293 | int, S_IRUGO); |
4294 | MODULE_PARM_DESC(disable_hw_scan, "disable hardware scanning (default 0)"); | 4294 | MODULE_PARM_DESC(disable_hw_scan, |
4295 | "disable hardware scanning (default 0) (deprecated)"); | ||
4295 | module_param_named(fw_restart3945, iwl3945_mod_params.restart_fw, int, S_IRUGO); | 4296 | module_param_named(fw_restart3945, iwl3945_mod_params.restart_fw, int, S_IRUGO); |
4296 | MODULE_PARM_DESC(fw_restart3945, "restart firmware in case of error"); | 4297 | MODULE_PARM_DESC(fw_restart3945, "restart firmware in case of error"); |
4297 | 4298 | ||