summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/dp/htt/htt_rx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c
index c0e0ec442aa3..1b1b25e730b7 100644
--- a/core/dp/htt/htt_rx.c
+++ b/core/dp/htt/htt_rx.c
@@ -2328,6 +2328,9 @@ htt_rx_restitch_mpdu_from_msdus(htt_pdev_handle pdev,
else
mpdu_buf = qdf_nbuf_clone(head_msdu);
+ if (!mpdu_buf)
+ goto mpdu_stitch_fail;
+
prev_buf = mpdu_buf;
frag_list_sum_len = 0;