]> git.ipfire.org Git - thirdparty/hostap.git/commit
Share wpa_init() error path handling
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 27 Feb 2025 09:06:40 +0000 (11:06 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 27 Feb 2025 10:13:32 +0000 (12:13 +0200)
commitf85a79ceab9c81c02df6b66de9605646ceb9fb06
tree159d6c113bf85cbd529f9b6d8785fd89d7896877
parent4c1ae91015e34ba83bc892e83739445e0cb4a9f9
Share wpa_init() error path handling

Use a single place to handle cleanup after failures instead of multiple
copies of this code. Also share the wpa_auth->group deinit routine with
wpa_deinit() even though there cannot be multiple groups or initialized
keys in the wpa_init() case.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/wpa_auth.c