Remove compiler warning on CONFIG_NO_WPA build
wpa_supplicant_set_rekey_offload() is used only if CONFIG_NO_WPA is not defined. Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
c8d22af88f
commit
77d7b090e0
1 changed files with 2 additions and 0 deletions
|
@ -806,6 +806,7 @@ int wpa_supplicant_init_eapol(struct wpa_supplicant *wpa_s)
|
|||
}
|
||||
|
||||
|
||||
#ifndef CONFIG_NO_WPA
|
||||
static void wpa_supplicant_set_rekey_offload(void *ctx, const u8 *kek,
|
||||
const u8 *kck,
|
||||
const u8 *replay_ctr)
|
||||
|
@ -814,6 +815,7 @@ static void wpa_supplicant_set_rekey_offload(void *ctx, const u8 *kek,
|
|||
|
||||
wpa_drv_set_rekey_info(wpa_s, kek, kck, replay_ctr);
|
||||
}
|
||||
#endif /* CONFIG_NO_WPA */
|
||||
|
||||
|
||||
int wpa_supplicant_init_wpa(struct wpa_supplicant *wpa_s)
|
||||
|
|
Loading…
Reference in a new issue