]> asedeno.scripts.mit.edu Git - linux.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)
commit91eff3f8200599afc9b98b8e47cdfed824c84b00
tree4199fc2642b187e44b94a221129e0adac0448d4e
parent79b6c8feb63589196cd4c557c91bfafd2da47f4e
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