qcacld-3.0: fix CFI failure by abstracting the callback
Abstract the callback hdd_softap_ipa_start_xmit by hdd_softap_ipa_start_xmit, to match the return type of wlan_ipa_softap_xmit pointer, to fix a CFI failure. Change-Id: If1cb1a80801558d5c7831ec89ad5281b0bbe36f3
This commit is contained in:

committed by
nshrivas

parent
904ab4d3ca
commit
9d39916b5f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -151,7 +151,8 @@ void ucfg_ipa_uc_stat_query(struct wlan_objmgr_pdev *pdev,
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev, void *cb);
|
||||
void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev,
|
||||
wlan_ipa_softap_xmit cb);
|
||||
|
||||
/**
|
||||
* ucfg_ipa_reg_send_to_nw_cb() - Register cb to send IPA Rx packet to network
|
||||
@@ -416,7 +417,8 @@ void ucfg_ipa_uc_stat_query(struct wlan_objmgr_pdev *pdev,
|
||||
}
|
||||
|
||||
static inline
|
||||
void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev, void *cb)
|
||||
void ucfg_ipa_reg_sap_xmit_cb(struct wlan_objmgr_pdev *pdev,
|
||||
wlan_ipa_softap_xmit cb)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user