From ac71ef1d266ebe83cacd8b3510e2dc7707a34571 Mon Sep 17 00:00:00 2001 From: Lincoln Tran Date: Mon, 3 Aug 2020 15:41:06 -0700 Subject: [PATCH] qcacld-3.0: Update parameter of stop_roaming_callback The last parameter of stop_roaming_callback is currently an unsigned int, which does not match the function that is assigned to this pointer, which has enum wlan_cm_rso_control_requestor. Update the function pointer to have the correct parameter. Change-Id: I2761293e6d87e9fcf9586d198a6e60f25ca2b51e CRs-fixed: 2745188 --- core/mac/inc/ani_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/mac/inc/ani_global.h b/core/mac/inc/ani_global.h index 412788523027..cfda8f73d02d 100644 --- a/core/mac/inc/ani_global.h +++ b/core/mac/inc/ani_global.h @@ -646,7 +646,7 @@ typedef struct sAniSirLim { (struct mac_context *mac, struct scheduler_msg *msg); QDF_STATUS(*stop_roaming_callback) (mac_handle_t mac, uint8_t session_id, uint8_t reason, - uint32_t requestor); + enum wlan_cm_rso_control_requestor requestor); uint8_t retry_packet_cnt; uint8_t beacon_probe_rsp_cnt_per_scan; wlan_scan_requester req_id;