DFS: Remove the os_random() fallback
authorNick Lowe <nick.lowe@lugatech.com>
Tue, 9 Feb 2016 14:49:35 +0000 (14:49 +0000)
committerJouni Malinen <j@w1.fi>
Fri, 19 Feb 2016 16:44:40 +0000 (18:44 +0200)
commit239952b4daba6b99bf713950b30f848ca66cc062
tree159c6bf52b497a5401f9338b79cbfc293b8a888f
parent98a516eae8260e6fd5c48ddecf8d006285da7389
DFS: Remove the os_random() fallback

Remove the fallback dependency on os_random() from the code that gets a
valid DFS channel. This is exceptionally unlikely to ever be called as
the call to os_get_random() is unlikely to fail. The intention is to
facilitate future removal of os_random() as it uses a low quality PRNG.

Signed-off-by: Nick Lowe <nick.lowe@lugatech.com>
src/ap/dfs.c