aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2017-08-15 23:12:39 +0300
committerLuca Coelho <luciano.coelho@intel.com>2017-08-18 17:36:41 +0300
commit8a0d53ce10053ce39b9512a054ab4c0bef2e2cc3 (patch)
tree40e3722ab08f0159030c750739d21ae0177a8277 /drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c
parent01a9c948a09348950515bf2abb6113ed83e696d8 (diff)
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: e9e1ba3dbf00 ("iwlwifi: mvm: support getting nvm data from firmware") Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c')
0 files changed, 0 insertions, 0 deletions