|
@@ -750,12 +750,11 @@ QDF_STATUS reg_set_fcc_constraint(struct wlan_objmgr_pdev *pdev,
|
|
|
}
|
|
|
|
|
|
if (pdev_priv_obj->set_fcc_channel == fcc_constraint) {
|
|
|
- reg_info("same fcc_constraint %d", fcc_constraint);
|
|
|
+ reg_debug("same fcc_constraint %d", fcc_constraint);
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
|
|
|
|
- reg_info("set fcc_constraint: %d", fcc_constraint);
|
|
|
- pdev_priv_obj->set_fcc_channel = fcc_constraint;
|
|
|
+ reg_debug("set fcc_constraint: %d", fcc_constraint);
|
|
|
|
|
|
psoc = wlan_pdev_get_psoc(pdev);
|
|
|
if (!psoc) {
|
|
@@ -769,6 +768,9 @@ QDF_STATUS reg_set_fcc_constraint(struct wlan_objmgr_pdev *pdev,
|
|
|
return QDF_STATUS_E_INVAL;
|
|
|
}
|
|
|
|
|
|
+ psoc_priv_obj->set_fcc_channel = fcc_constraint;
|
|
|
+ pdev_priv_obj->set_fcc_channel = fcc_constraint;
|
|
|
+
|
|
|
reg_compute_pdev_current_chan_list(pdev_priv_obj);
|
|
|
|
|
|
status = reg_send_scheduler_msg_sb(psoc, pdev);
|