wifi: iwlwifi: mvm: initialize the rx_vec before using it
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Tue, 13 Jun 2023 12:57:16 +0000 (15:57 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 14 Jun 2023 10:32:19 +0000 (12:32 +0200)
commit97110233c0af777ce6d6c25541cd7fd86e309ecc
tree5f101339d13f400d4a55a7d8723b98ef707c0c9d
parente9f5ce3471d824039069c740f4fb4de36dd2eccb
wifi: iwlwifi: mvm: initialize the rx_vec before using it

Initialize the phy_data.rx_vec for both version-3 and above
where it is 4-byte data size and below version which has
data size of 2-byte.
The data will be sent uninitialized in called function if
notification version is less than three.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230613155501.a6bb856f04bc.I9a15075f3dad61dcabdcd1ed0d34cf3e8ec5453f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c