usteer: Fix better candidate not being set in policy
authorWojciech Dubowik <[email protected]>
Tue, 17 May 2022 12:12:41 +0000 (14:12 +0200)
committerDavid Bauer <[email protected]>
Tue, 17 May 2022 14:21:14 +0000 (16:21 +0200)
commit7afab9604b580266a81935fb1d9df4c3b33831a3
treecb87b34ad9a97d6d0d73fc1cd7eda7cb43c63833
parentd9b3877198180b4765614c16fc971670cee1d688
usteer: Fix better candidate not being set in policy

The candidate is never set in this loop. Fix it by setting it
to the first valid entry.

Signed-off-by: Wojciech Dubowik <[email protected]>
policy.c