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:

committed by
Gerrit - the friendly Code Review server

父節點
c7c3c49381
當前提交
a913b30811
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user