qcacmn: Initial changes for york bring-up in umac layer
Add device Id and target type checks for qcn9160 target compilation. Change-Id: I2a26e1c45c61630594efd86466f19ea04300939f CRs-Fixed: 3282641
This commit is contained in:

committed by
Madan Koyyalamudi

부모
04a752e875
커밋
38f0453c6d
@@ -345,10 +345,12 @@ bool utils_dfs_is_spruce_spur_war_applicable(struct wlan_objmgr_pdev *pdev)
|
||||
target_type = lmac_get_target_type(dfs->dfs_pdev_obj);
|
||||
|
||||
/* Is the target Spruce? */
|
||||
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122)
|
||||
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122 ||
|
||||
!tgt_tx_ops->tgt_is_tgt_type_qcn9160)
|
||||
return false;
|
||||
|
||||
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122(target_type))
|
||||
if (!tgt_tx_ops->tgt_is_tgt_type_qcn6122(target_type) ||
|
||||
!tgt_tx_ops->tgt_is_tgt_type_qcn9160(target_type))
|
||||
return false;
|
||||
|
||||
cur_freq = dfs->dfs_curchan->dfs_ch_freq;
|
||||
|
Reference in New Issue
Block a user