summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2022-08-01 14:33:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-14 12:16:29 +0300
commit289f512d08c4edffd3defa7b030debe22132d31b (patch)
tree0edee1679e7694d7611f109c6382ddc86d3142b6 /tools
parent0f6d6974b08e1f0b904466b2b7a0ff47b2c70140 (diff)
downloadlinux-289f512d08c4edffd3defa7b030debe22132d31b.tar.xz
wifi: rtlwifi: 8192de: correct checking of IQK reload
commit 93fbc1ebd978cf408ef5765e9c1630fce9a8621b upstream. Since IQK could spend time, we make a cache of IQK result matrix that looks like iqk_matrix[channel_idx].val[x][y], and we can reload the matrix if we have made a cache. To determine a cache is made, we check iqk_matrix[channel_idx].val[0][0]. The initial commit 7274a8c22980 ("rtlwifi: rtl8192de: Merge phy routines") make a mistake that checks incorrect iqk_matrix[channel_idx].val[0] that is always true, and this mistake is found by commit ee3db469dd31 ("wifi: rtlwifi: remove always-true condition pointed out by GCC 12"), so I recall the vendor driver to find fix and apply the correctness. Fixes: 7274a8c22980 ("rtlwifi: rtl8192de: Merge phy routines") Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20220801113345.42016-1-pkshih@realtek.com Signed-off-by: Semyon Verchenko <semverchenko@factor-ts.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions