initialization of wpa_supplicant is very long
johannes at sipsolutions.net
Thu Jun 13 10:56:56 PDT 2019
On Thu, 2019-06-13 at 15:56 +0200, Arthur LAMBERT wrote:
> > It's not clear to me why hostapd uses getrandom() without the
> > GRND_RANDOM flag, but then falls back to /dev/random rather than
> > /dev/urandom?
> I dont used hostapd at all on my target device. I only use wpa_supplicant.
> I dont create any wifi point access on my device. My device is the client
> in my case.
Fine. Same thing. It's the same code anyway.
> I dont see anything relative about RANDOM flag in my wpa_supplicant configuration except this :
> [arthur] grep -nRE RANDOM output/build/wpa_supplicant-2.7/wpa_supplicant/.config
So try CONFIG_GETRANDOM=y
> Moreover HW_RANDOM is enable in my kernel defconfig.
Irrelevant, as you found out you have no hwrandom device.
More information about the Hostap