From a62d7618566e5ddc5db3d5d588de8ab96d666852 Mon Sep 17 00:00:00 2001
From: Jouni Malinen <j@w1.fi>
Date: Sat, 29 Feb 2020 00:32:13 +0200
Subject: [PATCH] ACS: Fix spelling of "interference"

Signed-off-by: Jouni Malinen <j@w1.fi>
---
 src/ap/acs.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/ap/acs.c b/src/ap/acs.c
index 232afa890..52e8f2cc4 100644
--- a/src/ap/acs.c
+++ b/src/ap/acs.c
@@ -489,7 +489,7 @@ static int is_in_chanlist(struct hostapd_iface *iface,
 }
 
 
-static void acs_survey_all_chans_intereference_factor(
+static void acs_survey_all_chans_interference_factor(
 	struct hostapd_iface *iface)
 {
 	int i;
@@ -566,7 +566,7 @@ static int is_common_24ghz_chan(int chan)
 #endif /* ACS_24GHZ_PREFER_1_6_11 */
 
 /*
- * At this point it's assumed chan->interface_factor has been computed.
+ * At this point it's assumed chan->interference_factor has been computed.
  * This function should be reusable regardless of interference computation
  * option (survey, BSS, spectral, ...). chan->interference factor must be
  * summable (i.e., must be always greater than zero).
@@ -826,7 +826,7 @@ static int acs_study_survey_based(struct hostapd_iface *iface)
 		return -1;
 	}
 
-	acs_survey_all_chans_intereference_factor(iface);
+	acs_survey_all_chans_interference_factor(iface);
 	return 0;
 }