qcacmn: Move cfr mon filter cdp func ptr to mon ops structure
Move cfr monitor filter cdp func ptr to cdp mon ops structure. cfr monitor filter cdp function is different for 1.0 and 2.0 hence moving the func ptr to mon ops structure ensures that func ptr is initialized appropriately. Change-Id: I82b9c85e96f2f219521ae6ed908ade120081c748 CRs-Fixed: 3428791
This commit is contained in:

gecommit door
Madan Koyyalamudi

bovenliggende
9ee8244cd8
commit
34bcece450
@@ -933,10 +933,10 @@ cdp_cfr_filter(ol_txrx_soc_handle soc,
|
||||
return;
|
||||
}
|
||||
|
||||
if (!soc->ops->cfr_ops || !soc->ops->cfr_ops->txrx_cfr_filter)
|
||||
if (!soc->ops->mon_ops || !soc->ops->mon_ops->txrx_cfr_filter)
|
||||
return;
|
||||
|
||||
soc->ops->cfr_ops->txrx_cfr_filter(soc, pdev_id, enable, filter_val,
|
||||
soc->ops->mon_ops->txrx_cfr_filter(soc, pdev_id, enable, filter_val,
|
||||
cfr_enable_monitor_mode);
|
||||
}
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user