hostapd: Increase timeout for channel list update to 5 seconds
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 24 Jan 2014 22:12:24 +0000 (23:12 +0100)
committerJouni Malinen <j@w1.fi>
Thu, 30 Jan 2014 12:05:14 +0000 (14:05 +0200)
commitfd9241341790193462ba145b1d2b3cb985a77359
treec9fdbedb76d19c27f1d923cc4267f9c4bd6ac9e0
parentff5e1d14af0a93095bb06ff031558fbd143b2c58
hostapd: Increase timeout for channel list update to 5 seconds

Before this patch, 1 second timeout was used for regulatory updates. In
some cases, specially when we reload driver modules on some slower
platforms this could take more than 1 second (about 2 seconds). This is
important specially for DFS case, where we have to have correct DFS
region before we will start CAC. In other case (unknown DFS region), CAC
will fail. 5 seconds should be enough for all cases.

Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
src/ap/hostapd.c