qcacmn: Update set country API to return failure
When country has not changed, reg_set_country will drop the request. Return failure in this case so caller will know if no action is taken. Change-Id: If6095887c6166edc626eab3bde312cc0aa8490b2 CRs-fixed: 2892356
Этот коммит содержится в:

коммит произвёл
snandini

родитель
9b797fd035
Коммит
9f2767dd41
@@ -211,7 +211,7 @@ QDF_STATUS reg_set_country(struct wlan_objmgr_pdev *pdev,
|
||||
if (psoc_reg->cc_src == SOURCE_USERSPACE ||
|
||||
psoc_reg->cc_src == SOURCE_CORE) {
|
||||
reg_debug("country is not different");
|
||||
return QDF_STATUS_SUCCESS;
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
}
|
||||
|
||||
|
Ссылка в новой задаче
Block a user