[ath_hal] Fix queue bits a bit

Found by PVS Studio: duplicate assignment; add assignment of tqi_compBuf.

Submitted by:	<mizhka@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D20431
This commit is contained in:
Adrian Chadd 2019-05-28 18:05:10 +00:00
parent e94828443c
commit 1bae1560ee

View File

@ -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;
@ -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;
}