qcacmn: Free the raw mode mpdus in REO error ring

Raw mode mpdus in REO end up resulting in NULL_QUEUE_DESCRIPTOR error.
Raw mode mpdus are not expected in REO, free them without further
processing.

Change-Id: Ica920caecf90a1107ce17836051e1019c9dfc994
CRs-Fixed: 3282836
这个提交包含在:
Prakash Manjunathappa
2022-09-08 23:55:11 -07:00
提交者 Madan Koyyalamudi
父节点 499b2deb3b
当前提交 60c0c089cd
修改 6 个文件,包含 52 行新增8 行删除

查看文件

@@ -1505,12 +1505,6 @@ out:
if (soc->cdp_soc.ol_ops->rx_invalid_peer)
soc->cdp_soc.ol_ops->rx_invalid_peer(vdev->vdev_id, wh);
free:
/* reset the head and tail pointers */
pdev = dp_get_pdev_for_lmac_id(soc, mac_id);
if (pdev) {
pdev->invalid_peer_head_msdu = NULL;
pdev->invalid_peer_tail_msdu = NULL;
}
/* Drop and free packet */
curr_nbuf = mpdu;