aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2019-05-03 13:13:47 (GMT)
committerJouni Malinen <j@w1.fi>2019-05-04 21:59:18 (GMT)
commitad5224dd43757da27c5093d61f1098cc92f3688d (patch)
treefa10ab465b061a50b7fe02906268e1f82c7f6526 /hostapd
parentb505ef7e96fcbb929b8be2b5330fa840e6b495e0 (diff)
downloadhostap-ad5224dd43757da27c5093d61f1098cc92f3688d.zip
hostap-ad5224dd43757da27c5093d61f1098cc92f3688d.tar.gz
hostap-ad5224dd43757da27c5093d61f1098cc92f3688d.tar.bz2
HE: Fix typo srp -> spr in hostapd configuration parameters
The initial commit used srp instead of spr for the spatial reuse configuration prefix. Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com> Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/config_file.c8
-rw-r--r--hostapd/hostapd.conf8
2 files changed, 8 insertions, 8 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index a3c58a5..3ba3709 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3592,13 +3592,13 @@ static int hostapd_config_fill(struct hostapd_config *conf,
} else if (os_strcmp(buf, "he_mu_edca_ac_vo_timer") == 0) {
conf->he_mu_edca.he_mu_ac_vo_param[HE_MU_AC_PARAM_TIMER_IDX] =
atoi(pos) & 0xff;
- } else if (os_strcmp(buf, "he_srp_sr_control") == 0) {
+ } else if (os_strcmp(buf, "he_spr_sr_control") == 0) {
conf->spr.sr_control = atoi(pos) & 0xff;
- } else if (os_strcmp(buf, "he_srp_non_srg_obss_pd_max_offset") == 0) {
+ } else if (os_strcmp(buf, "he_spr_non_srg_obss_pd_max_offset") == 0) {
conf->spr.non_srg_obss_pd_max_offset = atoi(pos);
- } else if (os_strcmp(buf, "he_srp_srg_obss_pd_min_offset") == 0) {
+ } else if (os_strcmp(buf, "he_spr_srg_obss_pd_min_offset") == 0) {
conf->spr.srg_obss_pd_min_offset = atoi(pos);
- } else if (os_strcmp(buf, "he_srp_srg_obss_pd_max_offset") == 0) {
+ } else if (os_strcmp(buf, "he_spr_srg_obss_pd_max_offset") == 0) {
conf->spr.srg_obss_pd_max_offset = atoi(pos);
#endif /* CONFIG_IEEE80211AX */
} else if (os_strcmp(buf, "max_listen_interval") == 0) {
diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
index 1702bd2..97ae293 100644
--- a/hostapd/hostapd.conf
+++ b/hostapd/hostapd.conf
@@ -824,10 +824,10 @@ wmm_ac_vo_acm=0
#he_mu_edca_ac_vo_timer=255
# Spatial Reuse Parameter Set
-#he_srp_sr_control
-#he_srp_non_srg_obss_pd_max_offset
-#he_srp_srg_obss_pd_min_offset
-#he_srp_srg_obss_pd_max_offset
+#he_spr_sr_control
+#he_spr_non_srg_obss_pd_max_offset
+#he_spr_srg_obss_pd_min_offset
+#he_spr_srg_obss_pd_max_offset
##### IEEE 802.1X-2004 related configuration ##################################