Skip to content
Commit 8884730e authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: iwlwifi: mvm: rs-fw: properly access sband->iftype_data



We need to look up the correct version of this struct depending
on the interface type, rather than just checking if the pointer
is non-NULL. Fix that.

Fixes: befebbb3 ("iwlwifi: rs: consider LDPC capability in case of HE")
Fixes: b009cf71 ("iwlwifi: mvm: only enable HE DCM if we also support TX")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230417113648.1fd54368a02c.Ie4db5e8ae224d9a4a63b528da5d63e1b957b9cef@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c45217bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment