Skip to content

Commit

Permalink
[ath_hal] Fix queue bits a bit
Browse files Browse the repository at this point in the history
Found by PVS Studio: duplicate assignment; add assignment of tqi_compBuf.

Submitted by:	<mizhka@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D20431
  • Loading branch information
adrian authored and adrian committed May 28, 2019
1 parent 0d34202 commit c140102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/dev/ath/ath_hal/ah.c
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,6 @@ ath_hal_getTxQProps(struct ath_hal *ah,
return AH_FALSE;
}

qInfo->tqi_qflags = qi->tqi_qflags;
qInfo->tqi_ver = qi->tqi_ver;
qInfo->tqi_subtype = qi->tqi_subtype;
qInfo->tqi_qflags = qi->tqi_qflags;
Expand All @@ -1141,6 +1140,7 @@ ath_hal_getTxQProps(struct ath_hal *ah,
qInfo->tqi_cbrOverflowLimit = qi->tqi_cbrOverflowLimit;
qInfo->tqi_burstTime = qi->tqi_burstTime;
qInfo->tqi_readyTime = qi->tqi_readyTime;
qInfo->tqi_compBuf = qi->tqi_physCompBuf;
return AH_TRUE;
}

Expand Down

0 comments on commit c140102

Please sign in to comment.