wpa_supplicant: nl80211: set_key failed; err=-22

Richard Knoop richard.knoop at ibb.nl
Tue Nov 18 09:34:46 EST 2014


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.

To be continued.

-- 
Met vriendelijke groet / With kind regards,

Richard Knoop (richard.knoop at ibb.nl), Ingenieursburo Balvers BV
Tel +31 72 576 2552
Newtonstraat 27, 1704SB Heerhugowaard, Netherlands



More information about the HostAP mailing list