diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2007-10-28 09:53:36 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-11-11 01:00:05 -0500 |
commit | f51359a8fb1bb00ae87051991e59d0f92d90604b (patch) | |
tree | 52911e9c3d71c838f71f534a42a820591a20b6e9 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 830f903866a1611e9ce53f3e35202302bb938946 (diff) |
iwlwifi: select proper rate control algorithm
Prior to this patch, iwlwifi would always use the first
registered rate control algorithm which, depending on system
setup, could be anything. After the mac80211 patch to make
the simple algorithm built-in, it would always be simple.
This has always been a bug in iwlwifi.
This fixes it by requesting that mac80211 selects the right
rate control algorithm.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index d60adcb9bd4a..6757c6c1b25a 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -8955,6 +8955,8 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
8955 | } | 8955 | } |
8956 | SET_IEEE80211_DEV(hw, &pdev->dev); | 8956 | SET_IEEE80211_DEV(hw, &pdev->dev); |
8957 | 8957 | ||
8958 | hw->rate_control_algorithm = "iwl-4965-rs"; | ||
8959 | |||
8958 | IWL_DEBUG_INFO("*** LOAD DRIVER ***\n"); | 8960 | IWL_DEBUG_INFO("*** LOAD DRIVER ***\n"); |
8959 | priv = hw->priv; | 8961 | priv = hw->priv; |
8960 | priv->hw = hw; | 8962 | priv->hw = hw; |