qcacmn: Fix return type for scheduler_msg callbacks
This fixes a CFI failure in callback assignment Change-Id: I760b41b81c006187efb162d410390e1c11878b82 CRs-Fixed: 2643320
This commit is contained in:
@@ -2153,7 +2153,7 @@ static void wmi_discard_fw_event(struct scheduler_msg *msg)
|
||||
msg->type = 0;
|
||||
}
|
||||
|
||||
static int wmi_process_fw_event_handler(struct scheduler_msg *msg)
|
||||
static QDF_STATUS wmi_process_fw_event_handler(struct scheduler_msg *msg)
|
||||
{
|
||||
struct wmi_process_fw_event_params *params =
|
||||
(struct wmi_process_fw_event_params *)msg->bodyptr;
|
||||
@@ -2170,7 +2170,7 @@ static int wmi_process_fw_event_handler(struct scheduler_msg *msg)
|
||||
|
||||
qdf_mem_free(msg->bodyptr);
|
||||
|
||||
return 0;
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user