cnss2: Change AFC data pointer from char* to const uint8_t*
API cnss_send_buffer_to_afcmem pass AFC data from driver to target which is not changed in platform driver, and it is pass-through byte stream for platform driver. Change the AFC data pointer in API from char* to const uint8_t*. Change-Id: Ib492dbcf028776858926d8a3e11edc528566fac1 CRs-Fixed: 3478093
This commit is contained in:

committed by
Madan Koyyalamudi

parent
cb3e0fc715
commit
33dff49a43
@@ -4504,8 +4504,8 @@ int cnss_pci_qmi_send_put(struct cnss_pci_data *pci_priv)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int cnss_send_buffer_to_afcmem(struct device *dev, char *afcdb, uint32_t len,
|
||||
uint8_t slotid)
|
||||
int cnss_send_buffer_to_afcmem(struct device *dev, const uint8_t *afcdb,
|
||||
uint32_t len, uint8_t slotid)
|
||||
{
|
||||
struct cnss_plat_data *plat_priv = cnss_bus_dev_to_plat_priv(dev);
|
||||
struct cnss_fw_mem *fw_mem;
|
||||
|
Reference in New Issue
Block a user