aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-5000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-5000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-5000.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-5000.c b/drivers/net/wireless/iwlwifi/iwl-5000.c
index 290701620f03..14b4c5ac751a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-5000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-5000.c
@@ -158,7 +158,6 @@ static int iwl5000_hw_set_hw_params(struct iwl_priv *priv)
158 iwlagn_mod_params.num_of_queues; 158 iwlagn_mod_params.num_of_queues;
159 159
160 hw_params(priv).max_txq_num = priv->cfg->base_params->num_of_queues; 160 hw_params(priv).max_txq_num = priv->cfg->base_params->num_of_queues;
161 hw_params(priv).max_stations = IWLAGN_STATION_COUNT;
162 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; 161 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID;
163 162
164 hw_params(priv).max_data_size = IWLAGN_RTC_DATA_SIZE; 163 hw_params(priv).max_data_size = IWLAGN_RTC_DATA_SIZE;
@@ -195,7 +194,6 @@ static int iwl5150_hw_set_hw_params(struct iwl_priv *priv)
195 iwlagn_mod_params.num_of_queues; 194 iwlagn_mod_params.num_of_queues;
196 195
197 hw_params(priv).max_txq_num = priv->cfg->base_params->num_of_queues; 196 hw_params(priv).max_txq_num = priv->cfg->base_params->num_of_queues;
198 hw_params(priv).max_stations = IWLAGN_STATION_COUNT;
199 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID; 197 priv->contexts[IWL_RXON_CTX_BSS].bcast_sta_id = IWLAGN_BROADCAST_ID;
200 198
201 hw_params(priv).max_data_size = IWLAGN_RTC_DATA_SIZE; 199 hw_params(priv).max_data_size = IWLAGN_RTC_DATA_SIZE;