diff options
author | 2023-04-17 11:41:27 +0300 | |
---|---|---|
committer | 2023-04-18 14:47:55 +0200 | |
commit | 8884730eab8773325579c4e8202b6647a42a1b94 (patch) | |
tree | cecedf1f857fcaa0c99a1d83d26249fb84b0fcd9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
parent | wifi: iwlwifi: mvm: only clients can be 20MHz-only (diff) | |
download | wireguard-linux-8884730eab8773325579c4e8202b6647a42a1b94.tar.xz wireguard-linux-8884730eab8773325579c4e8202b6647a42a1b94.zip |
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: befebbb30af0 ("iwlwifi: rs: consider LDPC capability in case of HE")
Fixes: b009cf71a982 ("iwlwifi: mvm: only enable HE DCM if we also support TX")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230417113648.1fd54368a02c.Ie4db5e8ae224d9a4a63b528da5d63e1b957b9cef@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions