DFS: Handle radar event when CAC actived correctly

When we have CAC active and receive a radar event, we should ignore
CAC_ABORT event and handle channel switch in the radar event handler.

Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
This commit is contained in:
Janusz Dziedzic 2013-10-26 16:36:00 +03:00 committed by Jouni Malinen
parent 5eaf240af5
commit 2e946249b1
3 changed files with 17 additions and 23 deletions

View file

@ -152,6 +152,9 @@ struct hostapd_data {
int parameter_set_count;
/* DFS specific parameters */
int cac_started;
/* Time Advertisement */
u8 time_update_counter;
struct wpabuf *time_adv;