Skip to content
Commit 005a425b authored by David Müller's avatar David Müller Committed by Kalle Valo
Browse files

rtlwifi: rtl8821ae: Make sure loop counter is signed on all architectures



The for-loop condition does not work correctly on architectures where
"char" is unsigned. Fix it by using an "int", which may also result in
more efficient code.

Signed-off-by: default avatarDavid Müller <d.mueller@elsoft.ch>
Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 706a527c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment