wpa_supplicant: nl80211: set_key failed; err=-22
Arend van Spriel
arend
Tue Nov 18 07:52:26 PST 2014
On 11/18/14 15:34, Richard Knoop wrote:
> Another update:
>
> It fails in the mac80211 module, method ieee80211_add_key
>
> /* reject WEP and TKIP keys if WEP failed to initialize */
> switch (params->cipher) {
> case WLAN_CIPHER_SUITE_WEP40:
> case WLAN_CIPHER_SUITE_TKIP:
> case WLAN_CIPHER_SUITE_WEP104:
> if (IS_ERR(sdata->local->wep_tx_tfm))
> {
> return -EINVAL;
> }
> break;
> default:
> break;
> }
>
> So WEP is not initialized.
Well, it was initialized. However, initialization failed, ie. the crypto
API call failed. Might be the arc4 algorithm is not available on your
system. Anyways, you need to debug crypto_alloc_base() function.
> To be continued.
Succes!
Regards,
Arend
More information about the Hostap
mailing list