diff mbox series

rtw89: 8852a: correct bit definition of dfs_en

Message ID 20211221024800.23814-1-pkshih@realtek.com
State New
Headers show
Series rtw89: 8852a: correct bit definition of dfs_en | expand

Commit Message

Ping-Ke Shih Dec. 21, 2021, 2:48 a.m. UTC
From: Chung-Hsuan Hung <hsuan8331@realtek.com>

Since there are other protections in the set channel flow, fortunately old
wrong setting won't affect the performance.

Signed-off-by: Chung-Hsuan Hung <hsuan8331@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/reg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo Dec. 22, 2021, 5:49 p.m. UTC | #1
Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Chung-Hsuan Hung <hsuan8331@realtek.com>
> 
> Since there are other protections in the set channel flow, fortunately old
> wrong setting won't affect the performance.
> 
> Signed-off-by: Chung-Hsuan Hung <hsuan8331@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

Patch applied to wireless-drivers-next.git, thanks.

5f48d7bbec37 rtw89: 8852a: correct bit definition of dfs_en
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtw89/reg.h b/drivers/net/wireless/realtek/rtw89/reg.h
index b6049009f183b..e0a416d37d0e8 100644
--- a/drivers/net/wireless/realtek/rtw89/reg.h
+++ b/drivers/net/wireless/realtek/rtw89/reg.h
@@ -1658,7 +1658,7 @@ 
 #define R_RSTB_WATCH_DOG 0x000C
 #define B_P0_RSTB_WATCH_DOG BIT(0)
 #define B_P1_RSTB_WATCH_DOG BIT(1)
-#define B_UPD_P0_EN BIT(30)
+#define B_UPD_P0_EN BIT(31)
 #define R_ANAPAR_PW15 0x030C
 #define B_ANAPAR_PW15 GENMASK(31, 24)
 #define B_ANAPAR_PW15_H GENMASK(27, 24)