diff options
author | Jan Hoffmann <jan@3e8.eu> | 2020-07-03 13:53:47 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-07-06 17:56:54 +0200 |
commit | dfe0bc860f67a53a9c9de6d7810c0bffa3bbdd6c (patch) | |
tree | cac3a582f0ceb1dbbc824e7ad0d25d1e45c64f05 /package/kernel | |
parent | 2d378703f13f51da89edc4b24c0bb51f415dc88f (diff) | |
download | upstream-dfe0bc860f67a53a9c9de6d7810c0bffa3bbdd6c.tar.gz upstream-dfe0bc860f67a53a9c9de6d7810c0bffa3bbdd6c.tar.bz2 upstream-dfe0bc860f67a53a9c9de6d7810c0bffa3bbdd6c.zip |
mac80211: allow ACS restriction with fixed channel
This can be useful when a DFS channel is configured, as the ACS channel
list is taken into account when switching channels after a radar event.
For example, this allows to prevent the SRD channels from being used in
that case.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
[reorder structure]
Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index de003e3d23..a131992f26 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -101,7 +101,6 @@ mac80211_hostapd_setup_base() { json_select config [ "$auto_channel" -gt 0 ] && channel=acs_survey - [ "$auto_channel" -gt 0 ] && json_get_values channel_list channels [ "$auto_channel" -gt 0 ] && json_get_vars acs_exclude_dfs [ -n "$acs_exclude_dfs" ] && [ "$acs_exclude_dfs" -gt 0 ] && @@ -109,6 +108,7 @@ mac80211_hostapd_setup_base() { json_get_vars noscan ht_coex json_get_values ht_capab_list ht_capab tx_burst + json_get_values channel_list channels set_default noscan 0 |