diff options
| author | Luciano Coelho <coelho@ti.com> | 2011-03-21 23:16:14 +0200 |
|---|---|---|
| committer | Luciano Coelho <coelho@ti.com> | 2011-04-19 16:49:12 +0300 |
| commit | 4a31c11c7d8c482598754a577a8fb71abb61ffa0 (patch) | |
| tree | c43a18ce0e9ee6bc54dc3dcda83b2e6e3ae85438 /scripts/basic | |
| parent | 4623ec7d97afaf7a8489036e2c2e71e8349716b4 (diff) | |
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: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
