qcacld-3.0: Fix missing-prototype build error
When CONFIG_MOBILE_ROUTER feature is enabled, FEATURE_WLAN_TDLS is turned off. As a result, compiler complains no prototype for lim_disassoc_tdls_peers error. Fix is to define lim_disassoc_tdls_peers as static inline when FEATURE_WLAN_TDLS is not defined. Change-Id: Idad1f7d2e27853307750fcc7ffbe7ab1e3504c3b CRs-Fixed: 2215100
Bu işleme şunda yer alıyor:
@@ -496,10 +496,9 @@ void lim_perform_disassoc(tpAniSirGlobal mac_ctx, int32_t frame_rssi,
|
||||
void lim_disassoc_tdls_peers(tpAniSirGlobal mac_ctx,
|
||||
tpPESession pe_session, tSirMacAddr addr);
|
||||
#else
|
||||
void lim_disassoc_tdls_peers(tpAniSirGlobal mac_ctx,
|
||||
static inline void lim_disassoc_tdls_peers(tpAniSirGlobal mac_ctx,
|
||||
tpPESession pe_session, tSirMacAddr addr)
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
void lim_process_deauth_frame(tpAniSirGlobal, uint8_t *, tpPESession);
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle