qcacmn: Move mon mac filter func to mon ops structure

Monitor ops functions are different for version 1 and 2.
Move mon mac filter func ptr to mon ops structure so that
its initialized properly according to monitor version.

Change-Id: Ie07ae3b7d3e9923e463db503aaa8b3500c1e1eac
CRs-Fixed: 3456620
This commit is contained in:
Jeevan Kukkalli
2023-04-03 13:59:47 +05:30
committed by Gerrit - the friendly Code Review server
父節點 c7c3c49381
當前提交 a913b30811
共有 4 個文件被更改,包括 10 次插入7 次删除

查看文件

@@ -118,11 +118,11 @@ cdp_update_mon_mac_filter(ol_txrx_soc_handle soc,
return QDF_STATUS_E_FAILURE;
}
if (!soc->ops->ctrl_ops ||
!soc->ops->ctrl_ops->txrx_update_mon_mac_filter)
if (!soc->ops->mon_ops ||
!soc->ops->mon_ops->txrx_update_mon_mac_filter)
return QDF_STATUS_E_FAILURE;
return soc->ops->ctrl_ops->txrx_update_mon_mac_filter
return soc->ops->mon_ops->txrx_update_mon_mac_filter
(soc, vdev_id, cmd);
}