]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb7019629a158dc9da7150ce652873c87c3093af
treec4e538236fe79b30f06f2da0126c33d5330b17fd
parentac5f07af597d283f5633a32cce8934a8a6923d5d
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: 3f8960b64df8 ("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