[BUGFIX] wifi: iwlwifi: mld: avoid out of bounds access
In the first fix I copy pasted the cluster ID randomization from hwsim,
which have the full cluster ID (6 bytes), so I left with indexes 4 and
5.
But the FW API only has the last 2 bytes of it. use the right indexes.
type=bugfix
ticket=jira:WIFI-789836
fixes=Ie49e42e0ce86e88d3c8cf1ef4404cfb762327bff
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Change-Id: I5f8fc923b60718e1b5eb571fcc7dcba496a79e6c
Reviewed-on: https://gerritwcs.ir.intel.com/c/iwlwifi-stack-dev/+/241153
automatic-review: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
tested: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Tested-by: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
x-iwlwifi-stack-dev: 961c08fa695d7b394f80f6ab30e6d5ff8aab0d70
2 files changed