linux/drivers/net/wireless/intel
Johannes Berg d12455fdbf iwlwifi: trans/pcie: defer transport initialisation
In a few PCIe devices we may have to swap out the configuration
after we allocate/initialise some parts of the device because
we only know the correct one after reading some registers. This
causes some things such as the byte-count table allocations to
be incorrect, since the configuration is swapped for one with a
bigger queue size.

Fix this by initialising most of the transport much later, only
after the configuration has finally been determined.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20210411132130.8f5db97db1e4.Ic622da559b586a04ca536a0ec49ed5ecf03a9354@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2021-04-14 12:07:21 +03:00
..
ipw2x00 networking changes for the 5.10 merge window 2020-10-15 18:42:13 -07:00
iwlegacy iwlegacy: avoid -Wempty-body warning 2021-04-11 12:31:01 +03:00
iwlwifi iwlwifi: trans/pcie: defer transport initialisation 2021-04-14 12:07:21 +03:00
Kconfig
Makefile