hostapd: reorganize config selection hierarchy for WPA3
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 29 Jul 2020 19:59:18 +0000 (21:59 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 9 Aug 2020 22:05:20 +0000 (00:05 +0200)
commit2788db3d384ee2de6687ba8ab3bf790b8f7d132e
tree539a84d913bb37817e99d8a4aecdca0336b44e0b
parentd40ce8b32d146b9c7abecaa76fc69c3aa3e252d6
hostapd: reorganize config selection hierarchy for WPA3

The current selection of DRIVER_MAKEOPTS and TARGET_LDFLAGS is
exceptionally hard to read. This tries to make things a little
easier by inverting the hierarchy of the conditions, so SSL_VARIANT
is checked first and LOCAL_VARIANT is checked second.

This exploits the fact that some of the previous conditions were
unnecessary, e.g. there is no hostapd-mesh*, so we don't need
to exclude this combination.

It also should make it a little easier to see which options are
actually switched by SSL_VARIANT and which by LOCAL_VARIANT.

The patch is supposed to be cosmetic. However, the improvement
for readers and the maintained consistency with master qualify
this for backporting.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit c4dd7fc23bfcf3b3f1a838668bb070edc9db5d4b)
package/network/services/hostapd/Makefile