aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
index 50d927bb2170..82d282730b75 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.c
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
@@ -2300,7 +2300,6 @@ int iwl3945_hw_set_hw_setting(struct iwl3945_priv *priv)
2300 return -ENOMEM; 2300 return -ENOMEM;
2301 } 2301 }
2302 2302
2303 priv->hw_setting.ac_queue_count = AC_NUM;
2304 priv->hw_setting.rx_buf_size = IWL_RX_BUF_SIZE; 2303 priv->hw_setting.rx_buf_size = IWL_RX_BUF_SIZE;
2305 priv->hw_setting.max_pkt_size = 2342; 2304 priv->hw_setting.max_pkt_size = 2342;
2306 priv->hw_setting.tx_cmd_len = sizeof(struct iwl3945_tx_cmd); 2305 priv->hw_setting.tx_cmd_len = sizeof(struct iwl3945_tx_cmd);
@@ -2308,6 +2307,8 @@ int iwl3945_hw_set_hw_setting(struct iwl3945_priv *priv)
2308 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG; 2307 priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG;
2309 priv->hw_setting.max_stations = IWL3945_STATION_COUNT; 2308 priv->hw_setting.max_stations = IWL3945_STATION_COUNT;
2310 priv->hw_setting.bcast_sta_id = IWL3945_BROADCAST_ID; 2309 priv->hw_setting.bcast_sta_id = IWL3945_BROADCAST_ID;
2310
2311 priv->hw_setting.tx_ant_num = 2;
2311 return 0; 2312 return 0;
2312} 2313}
2313 2314