commit | 4a31c11c7d8c482598754a577a8fb71abb61ffa0 | [log] [tgz] |
---|---|---|
author | Luciano Coelho <coelho@ti.com> | Mon Mar 21 23:16:14 2011 +0200 |
committer | Luciano Coelho <coelho@ti.com> | Tue Apr 19 16:49:12 2011 +0300 |
tree | c43a18ce0e9ee6bc54dc3dcda83b2e6e3ae85438 | |
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>