mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Fix build error at SDX24.le.1.7 platform
Fix 'for' loop initial declarations are only allowed in C99 or C11 mode build error at SDX24.le.1.7 platform. Change-Id: I08cc4ee7558f0b390a8c848828272497f517ef08 CRs-Fixed: 2365266
This commit is contained in:
parent
77485371e1
commit
50bc9ad9e8
1 changed files with 3 additions and 1 deletions
|
|
@ -306,10 +306,12 @@ static inline void ol_txrx_setup_mcc_sys_pipes(
|
|||
qdf_ipa_sys_connect_params_t *sys_in,
|
||||
qdf_ipa_wdi_conn_in_params_t *pipe_in)
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
/* Setup MCC sys pipe */
|
||||
QDF_IPA_WDI_CONN_IN_PARAMS_NUM_SYS_PIPE_NEEDED(pipe_in) =
|
||||
OL_TXRX_IPA_MAX_IFACE;
|
||||
for (int i = 0; i < OL_TXRX_IPA_MAX_IFACE; i++)
|
||||
for (i = 0; i < OL_TXRX_IPA_MAX_IFACE; i++)
|
||||
memcpy(&QDF_IPA_WDI_CONN_IN_PARAMS_SYS_IN(pipe_in)[i],
|
||||
&sys_in[i], sizeof(qdf_ipa_sys_connect_params_t));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue