qcacld-3.0: Fix return type for scheduler_msg callbacks

This fixes a CFI failure in callback assignment

Change-Id: I01fbd8cb65f8e33a66065d29d1aab983647a40ac
CRs-Fixed: 2651013
This commit is contained in:
Bapiraju Alla
2020-03-25 10:23:42 +05:30
committed by nshrivas
parent 8fda3ad748
commit 08410b2625
5 changed files with 23 additions and 15 deletions

View File

@@ -253,8 +253,8 @@ typedef void (*hidden_ssid_cb)(hdd_handle_t hdd_handle,
* @hdd_handle: HDD handle registered with SME
* @beacon_report: Beacon report structure
*/
typedef void (*beacon_report_cb)(hdd_handle_t hdd_handle,
struct wlan_beacon_report *beacon_report);
typedef QDF_STATUS (*beacon_report_cb)
(hdd_handle_t hdd_handle, struct wlan_beacon_report *beacon_report);
/**
* beacon_pause_cb : scan start callback fun