AP: Fix a typo in function name
Rename hostpad_dfs_update_background_chain() to hostapd_dfs_update_background_chain(). Signed-off-by: Ilan Peer <ilan.peer@intel.com>
This commit is contained in:
parent
594f85e30b
commit
cbcd056ece
1 changed files with 5 additions and 5 deletions
10
src/ap/dfs.c
10
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;
|
||||
|
|
Loading…
Reference in a new issue