Revert "iwlwifi: assign directly to iwl_trans->cfg in QuZ detection"
authorAnders Kaseorg <andersk@mit.edu>
Mon, 2 Dec 2019 22:09:20 +0000 (17:09 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 10 Dec 2019 08:32:36 +0000 (10:32 +0200)
commitdb5cce1afc8d2475d2c1c37c2a8267dd0e151526
treeac94a2e550c83d292d2def64a06395a3c0383e63
parent1e58252e334dc3f3756f424a157d1b7484464c40
Revert "iwlwifi: assign directly to iwl_trans->cfg in QuZ detection"

This reverts commit 968dcfb4905245dc64d65312c0d17692fa087b99.

Both that commit and commit 809805a820c6445f7a701ded24fdc6bbc841d1e4
attempted to fix the same bug (dead assignments to the local variable
cfg), but they did so in incompatible ways. When they were both merged,
independently of each other, the combination actually caused the bug to
reappear, leading to a firmware crash on boot for some cards.

https://bugzilla.kernel.org/show_bug.cgi?id=205719

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Acked-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/pcie/drv.c