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: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
andrea merello 2014-02-18 02:10:40 +01:00 committed by John W. Linville
parent edb6e3ec37
commit e74075a936
1 changed files with 2 additions and 0 deletions

View File

@ -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;