diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2009-01-08 13:19:57 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:14 -0500 |
commit | 1e33dc64475790c10a7cda3ca23d2eb678760d85 (patch) | |
tree | d570577118248d83e3ca8af6578ab79db62d832c /drivers/net/wireless/iwlwifi/iwl-3945.c | |
parent | d45aadd04b60c6d4f846e7ec2564654567065e5f (diff) |
iwl3945: use hw_params.rx_buf_size
This patch makes 3945 use of hw_params.rx_buf_size instead of
IWL_RX_BUF_SIZE. It also renames IWL_RX_BUF_SIZE to IWL_RX_BUF_SIZE_3K
and moves rx buffer defines into iwl-fh.h.
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-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index db7b949020c2..8a378bd1a7ab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2485,7 +2485,7 @@ int iwl3945_hw_set_hw_params(struct iwl_priv *priv) | |||
2485 | return -ENOMEM; | 2485 | return -ENOMEM; |
2486 | } | 2486 | } |
2487 | 2487 | ||
2488 | priv->hw_params.rx_buf_size = IWL_RX_BUF_SIZE; | 2488 | priv->hw_params.rx_buf_size = IWL_RX_BUF_SIZE_3K; |
2489 | priv->hw_params.max_pkt_size = 2342; | 2489 | priv->hw_params.max_pkt_size = 2342; |
2490 | priv->hw_params.max_rxq_size = RX_QUEUE_SIZE; | 2490 | priv->hw_params.max_rxq_size = RX_QUEUE_SIZE; |
2491 | priv->hw_params.max_rxq_log = RX_QUEUE_SIZE_LOG; | 2491 | priv->hw_params.max_rxq_log = RX_QUEUE_SIZE_LOG; |