Commit 5e5903a4 authored by Colin Ian King's avatar Colin Ian King Committed by Ping-Ke Shih
Browse files

wifi: rtlwifi: rtl8821ae: phy: restore removed code to fix infinite loop



A previous clean-up fix removed the assignment of v2 inside a while loop
that turned it into an infinite loop. Fix this by restoring the assignment
of v2 from array[] so that v2 is updated inside the loop.

Fixes: cda37445 ("wifi: rtlwifi: rtl8821ae: phy: remove some useless code")
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Tested-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Reviewed-by: default avatarSu Hui <suhui@nfschina.com>
Signed-off-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241106154642.1627886-1-colin.i.king@gmail.com
parent d4c49035
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment