hostapd: fix building mini variants
authorFelix Fietkau <nbd@nbd.name>
Fri, 13 Dec 2024 10:04:04 +0000 (11:04 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 13 Dec 2024 10:04:48 +0000 (11:04 +0100)
commit225b84d5832ddcc35ebc73e7cea34e9846cfa6f5
treece0f77c94ffd3c76bcaf81f6a1e6edd825bfe57c
parentb6c7d8a0d60fddd162c77371e2500f485339e2c7
hostapd: fix building mini variants

Move function and add ifdef to avoid undefined reference to hmac_sha256_kdf.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/src/src/ap/ucode.c
package/network/services/hostapd/src/src/utils/ucode.c
package/network/services/hostapd/src/src/utils/ucode.h