wifi: rtw89: 8851b: fix swapped DPK channel/bandwidth backup fields
Subsystems (2)
PATCH 1/1 wifi: rtw89: 8851b: fix swapped DPK channel/bandwidth backup fields
From: Yi Cong <[email protected]>
The .ch and .bw backup fields are swapped; .ch should store the channel and .bw the bandwidth, matching all other chips.
Fixes 0194a95cbe721a ("wifi: rtw89: 8851b: rfk: add DPK")
Signed-off-by Yi Cong <[email protected]>
--- drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/realtek/rtw89/rtw8851b_rfk.c +2 -2
@@ -1895,8 +1895,8 @@ static void _dpk_information(struct rtw89_dev *rtwdev, enum rtw89_phy_idx phy,u8 kidx = dpk->cur_idx[path]; dpk->bp[path][kidx].band = chan->band_type; - dpk->bp[path][kidx].ch = chan->band_width; - dpk->bp[path][kidx].bw = chan->channel; + dpk->bp[path][kidx].ch = chan->channel; + dpk->bp[path][kidx].bw = chan->band_width; rtw89_debug(rtwdev, RTW89_DBG_RFK, "[DPK] S%d[%d] (PHY%d): TSSI %s/ DBCC %s/ %s/ CH%d/ %s\n",
Signature · 1 line
2.25.1
Quoted 8 lines · Yi Cong
From: Yi Cong <[email protected]>
The .ch and .bw backup fields are swapped; .ch should store the channel and .bw the bandwidth, matching all other chips.
Fixes 0194a95cbe721a ("wifi: rtw89: 8851b: rfk: add DPK")Signed-off-by Yi Cong <[email protected]>
Acked-by Ping-Ke Shih <[email protected]>
Ping-Ke Shih
maintainerQuoted 9 lines · Yi Cong
From: Yi Cong <[email protected]>
The .ch and .bw backup fields are swapped; .ch should store the channel and .bw the bandwidth, matching all other chips.
Fixes 0194a95cbe721a ("wifi: rtw89: 8851b: rfk: add DPK")Signed-off-by Yi Cong <[email protected]>Acked-by Ping-Ke Shih <[email protected]>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
7e080e17ca38 wifi: rtw89: 8851b: fix swapped DPK channel/bandwidth backup fields