Skip to content

Commit

Permalink
iwlwifi: pcie: fix SW error MSI-X mapping
Browse files Browse the repository at this point in the history
We need to also update the IVAR location, since we've shifted
the bit.

Signed-off-by: Johannes Berg <[email protected]>
Fixes: 571836a ("iwlwifi: pcie: update sw error interrupt for BZ family")
Signed-off-by: Luca Coelho <[email protected]>
Link: https://lore.kernel.org/r/iwlwifi.20220304131517.bcfb28484e50.I921df6b5134785d7eeb0c934e4a43157c582fa79@changeid
Signed-off-by: Luca Coelho <[email protected]>
  • Loading branch information
jmberg-intel authored and lucacoelho committed Mar 10, 2022
1 parent a6d2172 commit 7b9f485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/intel/iwlwifi/pcie/trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ static const struct iwl_causes_list causes_list_pre_bz[] = {
};

static const struct iwl_causes_list causes_list_bz[] = {
{MSIX_HW_INT_CAUSES_REG_SW_ERR_BZ, CSR_MSIX_HW_INT_MASK_AD, 0x29},
{MSIX_HW_INT_CAUSES_REG_SW_ERR_BZ, CSR_MSIX_HW_INT_MASK_AD, 0x15},
};

static void iwl_pcie_map_list(struct iwl_trans *trans,
Expand Down

0 comments on commit 7b9f485

Please sign in to comment.