qcacld-3.0: Fix function type for stop_roaming_callback

This fixes a CFI failure in lim_handle_csa_offload_msg.

Change-Id: Ia4f20b7674902f47c6682ae56be8ba872c8176c5
CRs-Fixed: 2643343
This commit is contained in:
Abhishek Ambure 2020-03-17 13:24:26 +05:30 • committed by nshrivas
commit d365b8c8ef
2 changed files with 2 additions and 2 deletions

View file

@ -661,7 +661,7 @@ typedef struct sAniSirLim {
QDF_STATUS(*sme_msg_callback)
(struct mac_context *mac, struct scheduler_msg *msg);
QDF_STATUS(*stop_roaming_callback)
(struct mac_context *mac, uint8_t session_id, uint8_t reason,
(mac_handle_t mac, uint8_t session_id, uint8_t reason,
uint32_t requestor);
uint8_t retry_packet_cnt;
uint8_t beacon_probe_rsp_cnt_per_scan;

View file

@ -1830,7 +1830,7 @@ void lim_handle_csa_offload_msg(struct mac_context *mac_ctx,
/* Send RSO Stop to FW before triggering the vdev restart for CSA */
if (mac_ctx->lim.stop_roaming_callback)
mac_ctx->lim.stop_roaming_callback(mac_ctx,
mac_ctx->lim.stop_roaming_callback(MAC_HANDLE(mac_ctx),
session_entry->smeSessionId,
REASON_DRIVER_DISABLED,
RSO_CHANNEL_SWITCH);