mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
nl80211: Pass station VHT capabilities to kernel
Signed-hostap: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
a9a1d0f08a
commit
05a8d4221d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user