mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-19 03:14:05 -05:00
DFS: Don't handle DFS ops for 6 GHz channels
Skip DFS checks and CAC operation for 6 GHz channels. AFC checks will be added for 6 GHz channels later. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
ee0030e814
commit
3cf360b8e2
@ -673,6 +673,9 @@ int hostapd_handle_dfs(struct hostapd_iface *iface)
|
||||
int res, n_chans, n_chans1, start_chan_idx, start_chan_idx1;
|
||||
int skip_radar = 0;
|
||||
|
||||
if (is_6ghz_freq(iface->freq))
|
||||
return 1;
|
||||
|
||||
if (!iface->current_mode) {
|
||||
/*
|
||||
* This can happen with drivers that do not provide mode
|
||||
|
Loading…
Reference in New Issue
Block a user