From 8b3f377928fdce40e6c69fae806f852549e7ae27 Mon Sep 17 00:00:00 2001 From: Dhanashri Atre Date: Tue, 24 Jan 2017 18:38:11 -0800 Subject: [PATCH] qcacmn: Null terminate the rx packets list Add NULL termination to the list of rx frames before passing them to the high level OS. Change-Id: Ibc51f14b8b9ef2a8dff7147f4072910e11540093 CRs-Fixed: 1116939 --- dp/wifi3.0/dp_rx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/dp/wifi3.0/dp_rx.h b/dp/wifi3.0/dp_rx.h index ae802098da1a..000b0ae9a27f 100644 --- a/dp/wifi3.0/dp_rx.h +++ b/dp/wifi3.0/dp_rx.h @@ -160,6 +160,7 @@ do { \ qdf_nbuf_set_next((tail), (elem)); \ } \ (tail) = (elem); \ + qdf_nbuf_set_next((tail), NULL); \ } while (0) #endif /* _DP_RX_H */