Skip to content

Commit a475418

Browse files
committed
wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock
Evidently I had only looked at all the ones in rx.c, and missed this. Add bh-disable to this use of the rxq->lock as well. Fixes: 25edc8f ("iwlwifi: pcie: properly implement NAPI") Reported-by: Brian Norris <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20231208183100.e79ad3dae649.I8f19713c4383707f8be7fc20ff5cc1ecf12429bb@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 98fb9b9 commit a475418

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/wireless/intel/iwlwifi/pcie

1 file changed

+2
-2
lines changed

drivers/net/wireless/intel/iwlwifi/pcie/trans.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3106,7 +3106,7 @@ static u32 iwl_trans_pcie_dump_rbs(struct iwl_trans *trans,
31063106
struct iwl_rxq *rxq = &trans_pcie->rxq[0];
31073107
u32 i, r, j, rb_len = 0;
31083108

3109-
spin_lock(&rxq->lock);
3109+
spin_lock_bh(&rxq->lock);
31103110

31113111
r = iwl_get_closed_rb_stts(trans, rxq);
31123112

@@ -3130,7 +3130,7 @@ static u32 iwl_trans_pcie_dump_rbs(struct iwl_trans *trans,
31303130
*data = iwl_fw_error_next_data(*data);
31313131
}
31323132

3133-
spin_unlock(&rxq->lock);
3133+
spin_unlock_bh(&rxq->lock);
31343134

31353135
return rb_len;
31363136
}

0 commit comments

Comments
 (0)