mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-04 21:57:30 +00:00
iwlwifi: dbg_ini: don't skip a TX FIFO when dumping
Before we start looping over the internal TX FIFOs increase the fifo number, but that's incorrect and causes a FIFO to be skipped. This is probably due to a copy and paste from the previous loop. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
1019f9efcb
commit
efaaa97c0e
1 changed files with 3 additions and 1 deletions
|
@ -1230,13 +1230,15 @@ static bool iwl_ini_txf_iter(struct iwl_fw_runtime *fwrt,
|
|||
iter->lmac = 0;
|
||||
}
|
||||
|
||||
if (!iter->internal_txf)
|
||||
if (!iter->internal_txf) {
|
||||
for (iter->fifo++; iter->fifo < txf_num; iter->fifo++) {
|
||||
iter->fifo_size =
|
||||
cfg->lmac[iter->lmac].txfifo_size[iter->fifo];
|
||||
if (iter->fifo_size && (lmac_bitmap & BIT(iter->fifo)))
|
||||
return true;
|
||||
}
|
||||
iter->fifo--;
|
||||
}
|
||||
|
||||
iter->internal_txf = 1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue