iwlwifi: pcie: move some cfg mangling from trans_pcie_alloc to probe
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 2 Aug 2018 14:08:40 +0000 (17:08 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:42:13 +0000 (15:42 +0300)
commit809805a820c6445f7a701ded24fdc6bbc841d1e4
tree374af2135cc5dec5e975be88ae431ce8741c166c
parent91eff3f8200599afc9b98b8e47cdfed824c84b00
iwlwifi: pcie: move some cfg mangling from trans_pcie_alloc to probe

There were a couple of special handling to find the correct cfg inside
iwl_trans_pcie_alloc().  Move them to iwl_pci_probe() so they're
together with the rest of the decisions.

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