commit 6febe5bed194163ae1332943a163a0e08a720a6b
parent 338577bb3aa99e62dfe694146eb986f2cc99d502
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 29 Feb 2024 10:12:14 -0800
ap: allow va_end to get called in ap_handshake_event
Caught by static analysis, va_end was never being called since the
REKEY_COMPLETE event was returning early.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ap.c b/src/ap.c
@@ -1484,7 +1484,7 @@ static void ap_handshake_event(struct handshake_state *hs,
}
case HANDSHAKE_EVENT_REKEY_COMPLETE:
ap_set_sta_rekey_timer(ap, sta);
- return;
+ break;
default:
break;
}