iwlwifi: pass the iwl_config_trans_params when needed
authorLuca Coelho <luciano.coelho@intel.com>
Fri, 3 Aug 2018 10:24:18 +0000 (13:24 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:51:02 +0000 (15:51 +0300)
commit7e8258c09f56e3285ffffa8d894280eb1f1b927f
tree07502eb336860cb03a05000b52594a991b08b59b
parent0c18714a0d32142eb0fa1e41b49eefb5811fcd19
iwlwifi: pass the iwl_config_trans_params when needed

Instead of accessing the iwl_config_trans_params from the cfg that is
stored in the trans struct, pass this structure directly to functions
that need it during trans_alloc.  This will be useful to isolate the
elements needed during allocation and pass them separately before the
actual cfg struct is known.

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