diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-04-06 07:12:42 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-04-16 16:47:37 -0400 |
commit | b6e4c55aaee4fd40526a6816e60c68dd62e565c4 (patch) | |
tree | 64bbff3fc159290e41173d0a227375eafe941943 /drivers/net/wireless/iwlwifi/iwl-3945.c | |
parent | 811ecc995b18eb58067ffa75b961ece3b84a1f03 (diff) |
iwlwifi: trigger scan synchronously
Scan requesting doesn't need to be asynchronous
since all code paths leading up to it can sleep.
Make the scan request a new util operation that
is hw-specific (to account for 3945 vs. agn)
and call it right in place.
This patch moves a lot of code into iwlagn as
it need not be in iwlcore.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 15de649888d8..51f18950f077 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2740,6 +2740,7 @@ static struct iwl_hcmd_utils_ops iwl3945_hcmd_utils = { | |||
2740 | .get_hcmd_size = iwl3945_get_hcmd_size, | 2740 | .get_hcmd_size = iwl3945_get_hcmd_size, |
2741 | .build_addsta_hcmd = iwl3945_build_addsta_hcmd, | 2741 | .build_addsta_hcmd = iwl3945_build_addsta_hcmd, |
2742 | .rts_tx_cmd_flag = iwlcore_rts_tx_cmd_flag, | 2742 | .rts_tx_cmd_flag = iwlcore_rts_tx_cmd_flag, |
2743 | .request_scan = iwl3945_request_scan, | ||
2743 | }; | 2744 | }; |
2744 | 2745 | ||
2745 | static const struct iwl_ops iwl3945_ops = { | 2746 | static const struct iwl_ops iwl3945_ops = { |