DPP: Remove unused wpas_dpp_remain_on_channel_cb()

This function was apparently never used at all.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2018-12-02 17:03:13 +02:00
parent 88c08a29a2
commit 117f586b05
2 changed files with 0 additions and 25 deletions

View file

@ -1022,29 +1022,6 @@ void wpas_dpp_listen_stop(struct wpa_supplicant *wpa_s)
}
void wpas_dpp_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
unsigned int freq)
{
if (!wpa_s->dpp_listen_freq && !wpa_s->dpp_pending_listen_freq)
return;
wpa_printf(MSG_DEBUG,
"DPP: remain-on-channel callback (off_channel_freq=%u dpp_pending_listen_freq=%d roc_waiting_drv_freq=%d freq=%u)",
wpa_s->off_channel_freq, wpa_s->dpp_pending_listen_freq,
wpa_s->roc_waiting_drv_freq, freq);
if (wpa_s->off_channel_freq &&
wpa_s->off_channel_freq == wpa_s->dpp_pending_listen_freq) {
wpa_printf(MSG_DEBUG, "DPP: Listen on %u MHz started", freq);
wpa_s->dpp_pending_listen_freq = 0;
} else {
wpa_printf(MSG_DEBUG,
"DPP: Ignore remain-on-channel callback (off_channel_freq=%u dpp_pending_listen_freq=%d freq=%u)",
wpa_s->off_channel_freq,
wpa_s->dpp_pending_listen_freq, freq);
}
}
void wpas_dpp_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
unsigned int freq)
{

View file

@ -19,8 +19,6 @@ int wpas_dpp_bootstrap_info(struct wpa_supplicant *wpa_s, int id,
int wpas_dpp_auth_init(struct wpa_supplicant *wpa_s, const char *cmd);
int wpas_dpp_listen(struct wpa_supplicant *wpa_s, const char *cmd);
void wpas_dpp_listen_stop(struct wpa_supplicant *wpa_s);
void wpas_dpp_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
unsigned int freq);
void wpas_dpp_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
unsigned int freq);
void wpas_dpp_rx_action(struct wpa_supplicant *wpa_s, const u8 *src,