wifi: rtlwifi: rtl8723_common: using calculate_bit_shift()

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

Fixes: 0a168b48cd ("rtlwifi: rtl8723ae: rtl8723-common: Create new driver for common code")
Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20231219065739.1895666-11-suhui@nfschina.com
This commit is contained in:
Su Hui 2023-12-19 14:57:38 +08:00 • committed by Kalle Valo
commit 98d9c7731d
2 changed files with 2 additions and 11 deletions