nl80211: Pass station VHT capabilities to kernel

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2012-12-28 17:31:22 +02:00 committed by Jouni Malinen
parent a9a1d0f08a
commit 05a8d4221d

View File

@ -5811,6 +5811,12 @@ static int wpa_driver_nl80211_sta_add(void *priv,
params->ht_capabilities); params->ht_capabilities);
} }
if (params->vht_capabilities) {
NLA_PUT(msg, NL80211_ATTR_VHT_CAPABILITY,
sizeof(*params->vht_capabilities),
params->vht_capabilities);
}
os_memset(&upd, 0, sizeof(upd)); os_memset(&upd, 0, sizeof(upd));
upd.mask = sta_flags_nl80211(params->flags); upd.mask = sta_flags_nl80211(params->flags);
upd.set = upd.mask; upd.set = upd.mask;