qcacmn: ipa: change prototype of functions to pass dev_addr as const
In kernel 5.17, net_device->dev_addr is changed to const unsigned char*. Modify prototype of below functions to pass dev_addr as const: - ucfg_ipa_wlan_evt() - ipa_wlan_evt() - wlan_ipa_wlan_evt() - __wlan_ipa_wlan_evt() - wlan_ipa_cleanup_iface() - wlan_ipa_send_msg() - wlan_ipa_setup_iface() - wlan_ipa_save_bssid_iface_ctx() - wlan_ipa_uc_find_add_assoc_sta() - wlan_ipa_set_peer_id() - wlan_ipa_set_sap_client_auth() Change-Id: Ib2cbe8de724bc09abf82fa49c0ea08c268be34c0 CRs-Fixed: 3304829
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
5b4c2d3d0c
کامیت
bcb0f547dd
@@ -341,7 +341,7 @@ QDF_STATUS ucfg_ipa_wlan_evt(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
uint8_t session_id,
|
||||
enum wlan_ipa_wlan_event ipa_event_type,
|
||||
uint8_t *mac_addr, bool is_2g_iface);
|
||||
const uint8_t *mac_addr, bool is_2g_iface);
|
||||
|
||||
/**
|
||||
* ucfg_ipa_uc_smmu_map() - Map / Unmap DMA buffer to IPA UC
|
||||
@@ -653,7 +653,7 @@ QDF_STATUS ucfg_ipa_wlan_evt(struct wlan_objmgr_pdev *pdev,
|
||||
qdf_netdev_t net_dev, uint8_t device_mode,
|
||||
uint8_t session_id,
|
||||
enum wlan_ipa_wlan_event ipa_event_type,
|
||||
uint8_t *mac_addr, bool is_2g_iface)
|
||||
const uint8_t *mac_addr, bool is_2g_iface)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
مرجع در شماره جدید
Block a user