]> git.ipfire.org Git - thirdparty/hostap.git/commit
Split ibss_mesh_setup_freq() into multiple functions
authorNicolas Cavallari <nicolas.cavallari@green-communications.fr>
Wed, 15 Feb 2023 17:02:50 +0000 (18:02 +0100)
committerJouni Malinen <j@w1.fi>
Mon, 20 Feb 2023 22:28:11 +0000 (00:28 +0200)
commit64043e6156afdfe1e1a4d60b0205ee15acb5b49e
treeca320fa0bd7271e350c2be32911fb76bf93c0df8
parent1cde2549ec097628de07feed41895c52bd9261bd
Split ibss_mesh_setup_freq() into multiple functions

ibss_mesh_setup_freq() has become a 342 line function with 23 local
variables, 1 or 2 goto labels depending on ifdefs and its logic is
quite unpredictable.

Split it into multiple functions. No functional change intended, it
should be bug-compatible with the original code, except for some log
messages that are skipped more often.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
wpa_supplicant/wpa_supplicant.c