wpa_supplicant: nl80211: set_key failed; err=-22
Jouni Malinen
j
Tue Nov 18 08:15:19 PST 2014
On Tue, Nov 18, 2014 at 05:01:44PM +0100, Richard Knoop wrote:
> >Are you sure your kernel has CONFIG_CRYPTO_ARC4=y?
>
> Indeed, the arc4 module is enabled as a module in the kernel but not
> deployed in my filesystem.
>
> I added it and my error message is gone. I will test on several WiFi
> routers tonight.
>
> Question:
> How could I have know that this module is needed? I see not
> dependencies to the arc4 crypto. What did I miss?
> I now needed to get deep into the source code to find the origin.
The Linux kernel configuration system selects that automatically for you
(see net/mac80211/Kconfig).. If you want to remove modules that are
built automatically due to this type of dependencies, I guess you would
need to go through the Kconfig files to see what the declared
expectations are. Anyway, this is getting pretty off-topic for this
mailing list, i.e., linux-wireless mailing list would be a better target
for discussion related to kernel module dependencies for wireless
drivers.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list