DFS: Consider non-contiguous channels
authorEliad Peller <eliad@wizery.com>
Thu, 19 Mar 2015 14:41:41 +0000 (16:41 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 20 Mar 2015 13:56:59 +0000 (15:56 +0200)
commit56ef99255cbc592a367aa5312c44f441b663c0d4
tree1bda74ecb080488cf94a320d08f46a6410b7bc24
parent6ceea4c3cb829360c3846c4d31237d058d3a7b99
DFS: Consider non-contiguous channels

When looking for a new operating channel, consider the case of
non-contiguous channels when checking all the needed channels (e.g., the
driver might support channels 36, 38, 40, so look for channels 36+40
explicitly, instead of failing when encountering channel 38).

Signed-off-by: Eliad Peller <eliad@wizery.com>
src/ap/dfs.c