Just want to give a little more information abt what i am doing. Actually
i am running hostapd on two machines. On one i am generating the keys and
sending the key and mac addr to another machine. Then i give this key to
"hostapd_set_encryption(struct hostapd_data *hapd, const char *alg, u8
*addr, int idx, u8 *key, size_t key_len)"
I am sending all the parameters from remote computer except "hapd" which
is already there. But i get the error from
set80211priv(struct madwifi_driver_data *drv, int op, void *data, int len)
Which is called by "madwifi_set_key".
I can't understand, when is generated on the same machine i don't get the
error, but when i send it remotely i get an error.
Following are the debug messages:
# ./hostapd EAP_TLS.conf
This is not fair: Configuration file: EAP_TLS.conf
Configure bridge br0 for EAPOL traffic.