diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index cc141f8ba616..237d3b24dd20 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -1794,7 +1794,6 @@ int iwl4965_hw_set_hw_setting(struct iwl4965_priv *priv) | |||
1794 | memset(priv->hw_setting.shared_virt, 0, sizeof(struct iwl4965_shared)); | 1794 | memset(priv->hw_setting.shared_virt, 0, sizeof(struct iwl4965_shared)); |
1795 | 1795 | ||
1796 | priv->hw_setting.max_txq_num = iwl4965_param_queues_num; | 1796 | priv->hw_setting.max_txq_num = iwl4965_param_queues_num; |
1797 | priv->hw_setting.ac_queue_count = AC_NUM; | ||
1798 | priv->hw_setting.tx_cmd_len = sizeof(struct iwl4965_tx_cmd); | 1797 | priv->hw_setting.tx_cmd_len = sizeof(struct iwl4965_tx_cmd); |
1799 | priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE; | 1798 | priv->hw_setting.max_rxq_size = RX_QUEUE_SIZE; |
1800 | priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG; | 1799 | priv->hw_setting.max_rxq_log = RX_QUEUE_SIZE_LOG; |
@@ -1805,6 +1804,9 @@ int iwl4965_hw_set_hw_setting(struct iwl4965_priv *priv) | |||
1805 | priv->hw_setting.max_pkt_size = priv->hw_setting.rx_buf_size - 256; | 1804 | priv->hw_setting.max_pkt_size = priv->hw_setting.rx_buf_size - 256; |
1806 | priv->hw_setting.max_stations = IWL4965_STATION_COUNT; | 1805 | priv->hw_setting.max_stations = IWL4965_STATION_COUNT; |
1807 | priv->hw_setting.bcast_sta_id = IWL4965_BROADCAST_ID; | 1806 | priv->hw_setting.bcast_sta_id = IWL4965_BROADCAST_ID; |
1807 | |||
1808 | priv->hw_setting.tx_ant_num = 2; | ||
1809 | |||
1808 | return 0; | 1810 | return 0; |
1809 | } | 1811 | } |
1810 | 1812 | ||