Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4a31c11c authored by Luciano Coelho's avatar Luciano Coelho
Browse files

wl12xx: use a bitmask instead of list of booleans in scanned_ch



We were using an array of booleans to mark the channels we had already
scanned.  This was causing a sparse error, because bool is not a type
with defined size.  To fix this, use bitmasks instead, which is much
cleaner anyway.

Thanks Johannes Berg for the idea.

Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 4623ec7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment