How to build hostapd-common with FILS enabled?

Hi,

When I enabled fast roaming on the router, I got following errors in the log.

Fri Apr 12 10:31:30 2024 daemon.err hostapd: nl80211: kernel reports: key addition failed
Fri Apr 12 10:31:30 2024 daemon.info hostapd: wl1-ap0: STA c6:42:3e:eb:25:7d IEEE 802.11: associated (aid 3)
Fri Apr 12 10:31:30 2024 daemon.notice hostapd: wl1-ap0: AP-STA-CONNECTED c6:42:3e:eb:25:7d auth_alg=ft

Someone suggested that enabling FILS in hostapd build to fix the problem.

I am using wpad, which only uses hostapd-common.

So, is their a way to enable FILS in hostapd-common build?

Thanks.

who somebody and exactly where made you tongue in cheek suggestion to write scripts?

It is these parameters:
https://w1.fi/cgit/hostap/tree/hostapd/defconfig#n377

will not hide the line key is already present in kernel.