qcacmn: Address compilation issue
The function "ucfg_dfs_is_hw_pulses_allowed" should return bool and has a compilation error "return' with no value, in function returning non-void". Return the bool type "false" when the dfs is a NULL object. CRs-Fixed: 2715235 Change-Id: I8717aaedd1ac8208ce6257721d5890b82ca13a8f
Dieser Commit ist enthalten in:
@@ -394,7 +394,7 @@ bool ucfg_dfs_is_hw_pulses_allowed(struct wlan_objmgr_pdev *pdev)
|
||||
dfs = wlan_pdev_get_dfs_obj(pdev);
|
||||
if (!dfs) {
|
||||
dfs_err(dfs, WLAN_DEBUG_DFS_ALWAYS, "dfs is NULL");
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
return dfs_is_hw_pulses_allowed(dfs);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren