qcacmn: Drop mgmt nbuf in tx_capture disabled case
If tx_capture is disabled, the frames notified to tx_capture module needs to be freed. This change frees mgmt frames in tx capture module, if the feature is disabled Change-Id: I5f9ced69246c2b712d76f2f3cc61b5c386b703ec CRs-Fixed: 2644025
This commit is contained in:
@@ -2898,6 +2898,8 @@ void dp_deliver_mgmt_frm(struct dp_pdev *pdev, qdf_nbuf_t nbuf)
|
||||
dp_wdi_event_handler(WDI_EVENT_TX_MGMT_CTRL, pdev->soc,
|
||||
nbuf, HTT_INVALID_PEER,
|
||||
WDI_NO_VAL, pdev->pdev_id);
|
||||
} else {
|
||||
qdf_nbuf_free(nbuf);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
مرجع در شماره جدید
Block a user