diff options
author | Don Fry <donald.h.fry@intel.com> | 2011-09-15 11:36:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 14:40:41 -0400 |
commit | 10cabb78baa285840e10ab1911033e924ff29b94 (patch) | |
tree | 59fb88a069fdcf9571949df4a15e3e77abf5417a | |
parent | 35ff9b5a4d0c8881d85dc5874964460f858f7e2d (diff) |
iwlagn: workaround bug crashing some APs
commit 2249b011432ca3dcce112f0f71e0f531b4bb9347 upstream.
This patch reverts commit 9b7688328422b88a7a15dc0dc123ad9ab1a6e22d which
was introduced in 2.6.38-rc1. It works around a problem where the iwlagn
driver stimulates a bug crashing (requiring power cycle to recover) some
APs under heavy traffic.
Signed-off-by: Don Fry <donald.h.fry@intel.com>
SIgned-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c index 8e1942ebd9a..f24165d2698 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c | |||
@@ -2440,7 +2440,12 @@ static int iwl_mac_setup_register(struct iwl_priv *priv, | |||
2440 | IEEE80211_HW_SPECTRUM_MGMT | | 2440 | IEEE80211_HW_SPECTRUM_MGMT | |
2441 | IEEE80211_HW_REPORTS_TX_ACK_STATUS; | 2441 | IEEE80211_HW_REPORTS_TX_ACK_STATUS; |
2442 | 2442 | ||
2443 | /* | ||
2444 | * Including the following line will crash some AP's. This | ||
2445 | * workaround removes the stimulus which causes the crash until | ||
2446 | * the AP software can be fixed. | ||
2443 | hw->max_tx_aggregation_subframes = LINK_QUAL_AGG_FRAME_LIMIT_DEF; | 2447 | hw->max_tx_aggregation_subframes = LINK_QUAL_AGG_FRAME_LIMIT_DEF; |
2448 | */ | ||
2444 | 2449 | ||
2445 | hw->flags |= IEEE80211_HW_SUPPORTS_PS | | 2450 | hw->flags |= IEEE80211_HW_SUPPORTS_PS | |
2446 | IEEE80211_HW_SUPPORTS_DYNAMIC_PS; | 2451 | IEEE80211_HW_SUPPORTS_DYNAMIC_PS; |