Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -642,6 +642,8 @@ static int rtl8180_start(struct ieee80211_hw *dev)
	else
		reg &= ~RTL818X_TX_CONF_HW_SEQNUM;

	reg &= ~RTL818X_TX_CONF_DISCW;

	/* different meaning, same value on both rtl8185 and rtl8180 */
	reg &= ~RTL818X_TX_CONF_SAT_HWPLCP;