]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_cli.c
wpa_cli: Clean up unnecessarily complex CONFIG_MESH use
authorJouni Malinen <jouni@codeaurora.org>
Mon, 7 Oct 2019 12:23:38 +0000 (15:23 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 7 Oct 2019 14:20:41 +0000 (17:20 +0300)
commitd6a7de60c8d11b3325953bb808ce0ddfd67e232c
treebd9194abb831c59a17bf1335d64f208ab71cf667
parent8b426ab1e738ea0f8eea9b76031ef39c352e45a5
wpa_cli: Clean up unnecessarily complex CONFIG_MESH use

There is no need for #ifdef/#else/#endif construction in
network_fields[] to cover "mode" (which is completely independent of
CONFIG_MESH) or two separate conditional blocks for mesh related network
fields, so move these into a single conditionally included block.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/wpa_cli.c