3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

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.
This commit is contained in:
James Prestwood 2024-02-29 10:12:14 -08:00 committed by Denis Kenzior
parent 338577bb3a
commit 6febe5bed1

View File

@ -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;
}