projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7223e8d
)
iwl4965: fix rxon flags set to wrong value for A mode in .erp_ie_changed
author
Zhu Yi
<yi.zhu@intel.com>
Mon, 12 Nov 2007 03:37:43 +0000
(11:37 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:04:39 +0000
(15:04 -0800)
The patch fixes a bug that enables RXON_FLG_TGG_PROTECT_MSK erroneously
for A mode in the erp_ie_changed mac80211 callback.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl4965-base.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl4965-base.c
b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 7d0b7c994d9839a6c71f028a9ab027c05928ab3b..24dc40f2f4c8c870eea0692769adf3459768e363 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/
drivers/net/wireless/iwlwifi/iwl4965-base.c
@@
-7674,7
+7674,7
@@
static void iwl4965_mac_erp_ie_changed(struct ieee80211_hw *hw,
}
if (changes & IEEE80211_ERP_CHANGE_PROTECTION) {
- if (cts_protection)
+ if (cts_protection
&& (priv->phymode != MODE_IEEE80211A)
)
priv->staging_rxon.flags |= RXON_FLG_TGG_PROTECT_MSK;
else
priv->staging_rxon.flags &= ~RXON_FLG_TGG_PROTECT_MSK;