Kernel Tree For Xiaomi 11 Lite NE 5G
It is fine for an API to use a void pointer for a data structure that is opaque or a binary blob, but it is not ok to do so when the type of the data must be known and agreed upon by both the caller and the callee. In the case of the link layer stats callback the API definition uses a void pointer for both the context parameter and the response parameter, but an HDD handle is always passed as the context and a tSirLLStatsResults struct is always passed as the response, so explicitly reference those types. This will allow the compiler to verify that the correct types of parameters are being passed. Change-Id: Iba181bbc97331f8fdde1cdf5c81a80efef014839 CRs-Fixed: 2276494 |
||
---|---|---|
components | ||
configs | ||
core | ||
uapi/linux | ||
Android.mk | ||
Kbuild | ||
Kconfig | ||
Makefile | ||
README.txt |
This is CNSS WLAN Host Driver for products starting from iHelium