qcacmn: Set the flow idx valid flag based on flow timeout
Set the flow idx valid flag only when there is no flow timeout. Change-Id: If73219d894f3f5b7a4fde9105d1bb3fc18648f80 CRs-Fixed: 3399446
This commit is contained in:

committed by
Madan Koyyalamudi

parent
a70effe5d4
commit
fea98c45ed
@@ -44,10 +44,12 @@
|
|||||||
static inline void
|
static inline void
|
||||||
dp_rx_update_flow_info(qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr)
|
dp_rx_update_flow_info(qdf_nbuf_t nbuf, uint8_t *rx_tlv_hdr)
|
||||||
{
|
{
|
||||||
|
/* Set the flow idx valid flag only when there is no timeout */
|
||||||
|
if (hal_rx_msdu_flow_idx_timeout_be(rx_tlv_hdr))
|
||||||
|
return;
|
||||||
|
|
||||||
qdf_nbuf_set_rx_flow_idx_valid(nbuf,
|
qdf_nbuf_set_rx_flow_idx_valid(nbuf,
|
||||||
!hal_rx_msdu_flow_idx_invalid_be(rx_tlv_hdr));
|
!hal_rx_msdu_flow_idx_invalid_be(rx_tlv_hdr));
|
||||||
qdf_nbuf_set_rx_flow_idx_timeout(nbuf,
|
|
||||||
hal_rx_msdu_flow_idx_timeout_be(rx_tlv_hdr));
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static inline void
|
static inline void
|
||||||
|
Reference in New Issue
Block a user