Remove compiler warnings if TDLS is enabled without WPA2
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
84ae1d44ca
commit
9aaa6955a8
1 changed files with 2 additions and 2 deletions
|
@ -513,8 +513,6 @@ static int wpa_supplicant_mark_authenticated(void *ctx, const u8 *target_ap)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_IEEE80211R */
|
#endif /* CONFIG_IEEE80211R */
|
||||||
|
|
||||||
#endif /* CONFIG_NO_WPA */
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_TDLS
|
#ifdef CONFIG_TDLS
|
||||||
|
|
||||||
|
@ -596,6 +594,8 @@ static int wpa_supplicant_tdls_peer_addset(
|
||||||
|
|
||||||
#endif /* CONFIG_TDLS */
|
#endif /* CONFIG_TDLS */
|
||||||
|
|
||||||
|
#endif /* CONFIG_NO_WPA */
|
||||||
|
|
||||||
|
|
||||||
enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field)
|
enum wpa_ctrl_req_type wpa_supplicant_ctrl_req_from_string(const char *field)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue