Commit e74075a9 authored by andrea merello's avatar andrea merello Committed by John W. Linville

rtl818x: Explicitly enable contetion window

Currently the contention window enable/disable HW flag is not
touched by the driver.

This patch explicitly set it to the correct value to make sure
contention window is enabled (AFAIK contention window must be
enabled in most (if not all) cases.
Signed-off-by: default avatarAndrea Merello <andrea.merello@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent edb6e3ec
...@@ -642,6 +642,8 @@ static int rtl8180_start(struct ieee80211_hw *dev) ...@@ -642,6 +642,8 @@ static int rtl8180_start(struct ieee80211_hw *dev)
else else
reg &= ~RTL818X_TX_CONF_HW_SEQNUM; reg &= ~RTL818X_TX_CONF_HW_SEQNUM;
reg &= ~RTL818X_TX_CONF_DISCW;
/* different meaning, same value on both rtl8185 and rtl8180 */ /* different meaning, same value on both rtl8185 and rtl8180 */
reg &= ~RTL818X_TX_CONF_SAT_HWPLCP; reg &= ~RTL818X_TX_CONF_SAT_HWPLCP;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment