Skip to content

Commit c6015bf

Browse files
Jun-AmaneKalle Valo
authored andcommitted
wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
Fixing transmission failure which results in "authentication with ... timed out". This can be fixed by disable the REG_TXPAUSE. Signed-off-by: Jun ASAKA <JunASAKA@zzy040330.moe> Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221217030659.12577-1-JunASAKA@zzy040330.moe
1 parent 8b9754b commit c6015bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,11 @@ static void rtl8192e_enable_rf(struct rtl8xxxu_priv *priv)
17351735
val8 = rtl8xxxu_read8(priv, REG_PAD_CTRL1);
17361736
val8 &= ~BIT(0);
17371737
rtl8xxxu_write8(priv, REG_PAD_CTRL1, val8);
1738+
1739+
/*
1740+
* Fix transmission failure of rtl8192e.
1741+
*/
1742+
rtl8xxxu_write8(priv, REG_TXPAUSE, 0x00);
17381743
}
17391744

17401745
static s8 rtl8192e_cck_rssi(struct rtl8xxxu_priv *priv, u8 cck_agc_rpt)

0 commit comments

Comments
 (0)