]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211_hwsim: init peer measurement result
authorJohannes Berg <johannes.berg@intel.com>
Thu, 18 Apr 2024 08:52:24 +0000 (10:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:32:34 +0000 (16:32 +0200)
commit115cd0965446ee98089095664a025ba069559223
treeef0f67d6952afd8e3d97a455d5d91f3e4204926a
parent1960e9e9c215ab6d15af638ad3c769cea0acf17c
wifi: mac80211_hwsim: init peer measurement result

[ Upstream commit 2a4e01e5270b9fa9f6e6e0a4c24ac51a758636f9 ]

If we don't get all the values here, we might pass them to
cfg80211 uninitialized. Fix that, even if the input might
then not make much sense.

Fixes: 2af3b2a631b1 ("mac80211_hwsim: add PMSR report support via virtio")
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240418105220.e1317621c1f9.If7dd447de24d7493d133284db5e9e482e4e299f8@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/virtual/mac80211_hwsim.c