iwlwifi: assign directly to iwl_trans->cfg in QuZ detection
authorLuca Coelho <luciano.coelho@intel.com>
Thu, 29 Aug 2019 08:13:46 +0000 (11:13 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:50:59 +0000 (16:50 +0300)
commit968dcfb4905245dc64d65312c0d17692fa087b99
treec4e538236fe79b30f06f2da0126c33d5330b17fd
parent7caac62ed598a196d6ddf8d9c121e12e082cac3a
iwlwifi: assign directly to iwl_trans->cfg in QuZ detection

We were erroneously assigning the new configuration to a local
variable cfg, but that was not being assigned to anything, so the
change was getting lost.  Assign directly to iwl_trans->cfg instead.

Fixes: 5a8c31aa6357 ("iwlwifi: pcie: fix recognition of QuZ devices")
Cc: stable@vger.kernel.org # 5.2
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/pcie/drv.c