qcacmn: Dump TLVs before freeing nbuf

Call dump packet TLVs API before freeing the nbuf containing the TLVs

Change-Id: I6d27de4d3331cbf7bd45d1d2b1ba5122f25b9f24
CRs-Fixed: 2213769
This commit is contained in:
psimha
2018-03-28 10:25:24 -07:00
committed by nshrivas
parent dc8aca8501
commit 2bcdb546e5

View File

@@ -1216,9 +1216,9 @@ done:
qdf_assert(0);
}
hal_rx_dump_pkt_tlvs(rx_tlv_hdr, QDF_TRACE_LEVEL_DEBUG);
qdf_nbuf_free(nbuf);
nbuf = next;
hal_rx_dump_pkt_tlvs(rx_tlv_hdr, QDF_TRACE_LEVEL_DEBUG);
}
return rx_bufs_used; /* Assume no scale factor for now */
}