qcacmn: Allocate and Initialize monitor rings
Allocate tx/rx monitor destination rings for waikiki
CRs-Fixed: 3010845
Change-Id: I1c6950188e2693cab648679d34d6731db53978f9
This commit is contained in:
@@ -2088,7 +2088,7 @@ QDF_STATUS dp_mon_pdev_attach(struct dp_pdev *pdev)
|
||||
}
|
||||
|
||||
if (mon_ops->mon_rings_alloc) {
|
||||
if (mon_ops->mon_rings_alloc(soc, pdev)) {
|
||||
if (mon_ops->mon_rings_alloc(pdev)) {
|
||||
dp_mon_err("%pK: MONITOR rings setup failed", pdev);
|
||||
goto fail2;
|
||||
}
|
||||
@@ -2207,7 +2207,7 @@ QDF_STATUS dp_mon_pdev_init(struct dp_pdev *pdev)
|
||||
}
|
||||
|
||||
if (mon_ops->mon_rings_init) {
|
||||
if (mon_ops->mon_rings_init(soc, pdev)) {
|
||||
if (mon_ops->mon_rings_init(pdev)) {
|
||||
dp_mon_err("%pK: MONITOR rings setup failed", pdev);
|
||||
goto fail1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user