mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 10:32:35 +00:00
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
This commit is contained in:
parent
8b9754b28f
commit
c6015bf3ff
@ -1735,6 +1735,11 @@ static void rtl8192e_enable_rf(struct rtl8xxxu_priv *priv)
|
||||
val8 = rtl8xxxu_read8(priv, REG_PAD_CTRL1);
|
||||
val8 &= ~BIT(0);
|
||||
rtl8xxxu_write8(priv, REG_PAD_CTRL1, val8);
|
||||
|
||||
/*
|
||||
* Fix transmission failure of rtl8192e.
|
||||
*/
|
||||
rtl8xxxu_write8(priv, REG_TXPAUSE, 0x00);
|
||||
}
|
||||
|
||||
static s8 rtl8192e_cck_rssi(struct rtl8xxxu_priv *priv, u8 cck_agc_rpt)
|
||||
|
Loading…
Reference in New Issue
Block a user