wpa_supplicant: Fix configurable debug log feature's warning issue

This commit is contained in:
Hrudaynath Dhabe
2020-01-30 19:25:45 +05:30
committed by bot
parent 851658109c
commit ec50c5344b
4 changed files with 23 additions and 11 deletions

View File

@@ -1038,7 +1038,9 @@ get_defaults:
int eap_peer_tls_phase2_nak(struct eap_method_type *types, size_t num_types,
struct eap_hdr *hdr, struct wpabuf **resp)
{
#ifdef DEBUG_PRINT
u8 *pos = (u8 *) (hdr + 1);
#endif
size_t i;
/* TODO: add support for expanded Nak */