diff options
author | Chin-Yen Lee <timlee@realtek.com> | 2024-10-24 13:55:09 +0800 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-11-01 10:08:25 +0800 |
commit | 345c894ee79b7ad6e0b5503b4391afe622b2c864 (patch) | |
tree | 1f06dbfe900ac04468c595d621ca0bb2ebbd0262 /drivers/net/wireless | |
parent | f9e0189cbc2d6447dde392944c769546cdf48140 (diff) | |
download | linux-stable-345c894ee79b7ad6e0b5503b4391afe622b2c864.tar.gz linux-stable-345c894ee79b7ad6e0b5503b4391afe622b2c864.tar.bz2 linux-stable-345c894ee79b7ad6e0b5503b4391afe622b2c864.zip |
wifi: rtw89: don't check done-ack for entering PS
In WoWLAN mode, driver will disable interrupt after calling H2C command
for entering PS mode, but it may lead to failing to enter deep PS mode by
firmware because the done-ack of the H2C from firmware is not handled by
driver. In fact, the done-ack for entering PS is not necessary for driver
to check, so remove it.
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241024055509.8000-1-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/realtek/rtw89/fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c index 1fc1ee46b3a3..6df275b92e92 100644 --- a/drivers/net/wireless/realtek/rtw89/fw.c +++ b/drivers/net/wireless/realtek/rtw89/fw.c @@ -2508,7 +2508,7 @@ int rtw89_fw_h2c_lps_parm(struct rtw89_dev *rtwdev, rtw89_h2c_pkt_set_hdr(rtwdev, skb, FWCMD_TYPE_H2C, H2C_CAT_MAC, H2C_CL_MAC_PS, - H2C_FUNC_MAC_LPS_PARM, 0, 1, + H2C_FUNC_MAC_LPS_PARM, 0, !lps_param->psmode, H2C_LPS_PARM_LEN); ret = rtw89_h2c_tx(rtwdev, skb, false); |