]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP: Fix a typo in function name
authorIlan Peer <ilan.peer@intel.com>
Tue, 26 Dec 2023 09:06:25 +0000 (11:06 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 13 Jan 2024 21:47:20 +0000 (23:47 +0200)
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

index 18cb355a75c845ca3436794d255490627e4fe67d..dbf645d72c3e1376f9c2a1c4331fdd296e9a7dd0 100644 (file)
@@ -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;