diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2008-07-10 23:53:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-14 14:52:59 -0400 |
commit | 9f17b318a1e2335b45cf35ad6509b90e972c0e6b (patch) | |
tree | d1e532523043f46c72f81d620ff3578e6330e0c3 /drivers/net/wireless/iwlwifi/iwl-core.c | |
parent | 1ff50bda6eef4466366e197541508fc69af0f0c0 (diff) |
iwlwifi: differentiate 4965 and 5000 hw ampdu queues number
This patch asks to allocate the correct amount of sw queues according
to hw ampdu queues number.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@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-core.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index eee220cf52a2..a44188bf4459 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -825,7 +825,7 @@ int iwl_setup_mac(struct iwl_priv *priv) | |||
825 | hw->queues = 4; | 825 | hw->queues = 4; |
826 | /* queues to support 11n aggregation */ | 826 | /* queues to support 11n aggregation */ |
827 | if (priv->cfg->sku & IWL_SKU_N) | 827 | if (priv->cfg->sku & IWL_SKU_N) |
828 | hw->ampdu_queues = 12; | 828 | hw->ampdu_queues = priv->cfg->mod_params->num_of_ampdu_queues; |
829 | 829 | ||
830 | hw->conf.beacon_int = 100; | 830 | hw->conf.beacon_int = 100; |
831 | 831 | ||