]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: use the cfg we passed to iwl_trans_pcie_alloc()
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 2 Aug 2018 13:16:27 +0000 (16:16 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:35:43 +0000 (15:35 +0300)
commit80c56685a0792ad888c9a0ae249711449b518826
tree4199fc2642b187e44b94a221129e0adac0448d4e
parent8780db84745824f24e5c79a3eea32da745b530b5
iwlwifi: pcie: use the cfg we passed to iwl_trans_pcie_alloc()

Instead of using iwl_trans->cfg in iwl_trans_pcie_alloc(), use the
local argument that we received.  This will allow us to not to set the
cfg during iwl_trans_alloc() so it can be decided later.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/trans.c