mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
ie: add OCI support in build_fast_bss_transition
This commit is contained in:
parent
1187fcbf42
commit
23fb4493df
7
src/ie.c
7
src/ie.c
@ -1870,6 +1870,13 @@ bool ie_build_fast_bss_transition(const struct ie_ft_info *info,
|
||||
|
||||
L_WARN_ON(info->igtk_len); /* Not implemented */
|
||||
|
||||
if (info->oci_present) {
|
||||
to[0] = 5;
|
||||
to[1] = 3;
|
||||
memcpy(to + 2, info->oci, sizeof(info->oci));
|
||||
*len += 5;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user