wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()

Using calculate_bit_shift() to replace _rtl92c_phy_calculate_bit_shift().
And fix the undefined bitwise shift behavior problem.

Fixes: 0c8173385e ("rtl8192ce: Add new driver")
Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231219065739.1895666-7-suhui@nfschina.com
This commit is contained in:
Su Hui 2023-12-19 14:57:34 +08:00 • committed by Kalle Valo
commit 3d03e82310
2 changed files with 3 additions and 4 deletions