Fix typo, use boolean operator instead of bit-wise.

Reviewed by:	marius, shurd
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2019-01-03 01:01:03 +00:00
parent 295586e818
commit 85f3b801e9

View File

@ -1617,7 +1617,7 @@ iflib_txsd_alloc(iflib_txq_t txq)
(uintmax_t)sctx->isc_tx_maxsize, nsegments, (uintmax_t)sctx->isc_tx_maxsegsize);
goto fail;
}
if ((if_getcapabilities(ctx->ifc_ifp) & IFCAP_TSO) &
if ((if_getcapabilities(ctx->ifc_ifp) & IFCAP_TSO) &&
(err = bus_dma_tag_create(bus_get_dma_tag(dev),
1, 0, /* alignment, bounds */
BUS_SPACE_MAXADDR, /* lowaddr */