[RFC] hostapd/wpa_s: use driver's extended capabilities
Johannes Berg
johannes
Mon Feb 11 06:55:00 PST 2013
On Mon, 2013-02-11 at 15:48 +0100, Johannes Berg wrote:
> + if (tb[NL80211_ATTR_EXT_CAPA]) {
> + capa->extended_capa =
> + os_malloc(nla_len(tb[NL80211_ATTR_EXT_CAPA]));
> + if (capa->extended_capa)
> + os_memcpy(capa->extended_capa,
> + nla_data(tb[NL80211_ATTR_EXT_CAPA]),
> + nla_len(tb[NL80211_ATTR_EXT_CAPA]));
> + }
Humm, obviously this also needs
capa->extended_capa_len = nla_len(tb[NL80211_ATTR_EXT_CAPA]);
johannes
More information about the Hostap
mailing list