summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorMatt Chen <matt.chen@intel.com>2021-01-22 14:52:36 +0200
committerKalle Valo <kvalo@codeaurora.org>2021-01-25 15:59:12 +0200
commitaefbe5c445c7e2f0e082b086ba1e45502dac4b0e (patch)
treee2331f6edaa903358791683cd0bc09b3fadb8287 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parent3d372c4edfd4dffb7dea71c6b096fb414782b776 (diff)
downloadlinux-aefbe5c445c7e2f0e082b086ba1e45502dac4b0e.tar.bz2
iwlwifi: mvm: fix the return type for DSM functions 1 and 2
The return type value of functions 1 and 2 were considered to be an integer inside a buffer, but they can also be only an integer, without the buffer. Fix the code in iwl_acpi_get_dsm_u8() to handle it as a single integer value, as well as packed inside a buffer. Signed-off-by: Matt Chen <matt.chen@intel.com> Fixes: 9db93491f29e ("iwlwifi: acpi: support device specific method (DSM)") Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/iwlwifi.20210122144849.5757092adcd6.Ic24524627b899c9a01af38107a62a626bdf5ae3a@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions