Skip to content
Commit 4a81598f authored by Luca Coelho's avatar Luca Coelho
Browse files

iwlwifi: pnvm: set the PNVM again if it was already loaded



When the interface goes up, we have already loaded the PNVM during
init, so we don't load it anymore.  But we still need to set the PNVM
values in the context so that the FW can load it again.

Call set_pnvm when the PNVM is already loaded and change the
trans_pcie implementation to accept a second call to set_pnvm when we
have already allocated and, in this case, only set the values without
allocating again.

Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Fixes: 69725928

 ("iwlwifi: read and parse PNVM file")
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210210172142.622546a3566f.I659a8b9aa944d213c4ba446e142d74f3f6db9c64@changeid
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 11dd729a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment