wl12xx: use a bitmask instead of list of booleans in scanned_ch
authorLuciano Coelho <coelho@ti.com>
Mon, 21 Mar 2011 21:16:14 +0000 (23:16 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 19 Apr 2011 13:49:12 +0000 (16:49 +0300)
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: Luciano Coelho <coelho@ti.com>

No differences found