mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
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
This commit is contained in:
parent
72199d32de
commit
e5f0e052df
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue