Skip to content
Commit 8a0d53ce authored by Luca Coelho's avatar Luca Coelho
Browse files

iwlwifi: fw: fix lar_enabled endian problem in iwl_fw_get_nvm



We read the regulatory.lar_enabled field in iwl_fw_get_nvm() and store
it in nvm->lar_enabled, taking care of endianness.  But then later we
read it again to pass the value to iwl_init_sbands() without handling
endianness.  To solve this, simply reuse nvm->lar_enabled when calling
that function.

Fixes: e9e1ba3d ("iwlwifi: mvm: support getting nvm data from firmware")
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 01a9c948
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment