diff mbox series

AP: Fix a typo in function name

Message ID 20231226090625.477451-3-andrei.otcheretianski@intel.com
State Accepted
Headers show
Series AP: Fix a typo in function name | expand

Commit Message

Andrei Otcheretianski Dec. 26, 2023, 9:06 a.m. UTC
From: Ilan Peer <ilan.peer@intel.com>

Rename hostpad_dfs_update_background_chain() to
hostapd_dfs_update_background_chain().

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
---
 src/ap/dfs.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Jouni Malinen Jan. 13, 2024, 10:26 p.m. UTC | #1
On Tue, Dec 26, 2023 at 11:06:25AM +0200, Andrei Otcheretianski wrote:
> Rename hostpad_dfs_update_background_chain() to
> hostapd_dfs_update_background_chain().

Thanks, applied.
diff mbox series

Patch

diff --git a/src/ap/dfs.c b/src/ap/dfs.c
index 18cb355a75..dbf645d72c 100644
--- a/src/ap/dfs.c
+++ b/src/ap/dfs.c
@@ -1049,7 +1049,7 @@  static int hostapd_dfs_request_channel_switch(struct hostapd_iface *iface,
 }
 
 
-static void hostpad_dfs_update_background_chain(struct hostapd_iface *iface)
+static void hostapd_dfs_update_background_chain(struct hostapd_iface *iface)
 {
 	int sec = 0;
 	enum dfs_channel_type channel_type = DFS_NO_CAC_YET;
@@ -1124,7 +1124,7 @@  hostapd_dfs_start_channel_switch_background(struct hostapd_iface *iface)
 	hostapd_set_oper_centr_freq_seg1_idx(
 		iface->conf, iface->radar_background.centr_freq_seg1_idx);
 
-	hostpad_dfs_update_background_chain(iface);
+	hostapd_dfs_update_background_chain(iface);
 
 	return hostapd_dfs_request_channel_switch(
 		iface, iface->conf->channel, iface->freq,
@@ -1188,7 +1188,7 @@  int hostapd_dfs_complete_cac(struct hostapd_iface *iface, int success, int freq,
 		}
 	} else if (hostapd_dfs_is_background_event(iface, freq)) {
 		iface->radar_background.cac_started = 0;
-		hostpad_dfs_update_background_chain(iface);
+		hostapd_dfs_update_background_chain(iface);
 	}
 
 	return 0;
@@ -1322,7 +1322,7 @@  hostapd_dfs_background_start_channel_switch(struct hostapd_iface *iface,
 		 * Just select a new random channel according to the
 		 * regulations for monitoring.
 		 */
-		hostpad_dfs_update_background_chain(iface);
+		hostapd_dfs_update_background_chain(iface);
 		return 0;
 	}
 
@@ -1484,7 +1484,7 @@  int hostapd_dfs_nop_finished(struct hostapd_iface *iface, int freq,
 	} else if (dfs_use_radar_background(iface) &&
 		   iface->radar_background.channel == -1) {
 		/* Reset radar background chain if disabled */
-		hostpad_dfs_update_background_chain(iface);
+		hostapd_dfs_update_background_chain(iface);
 	}
 
 	return 0;