qcacmn: Fix 'struct wifi_pos_osif_ops' will not be visible issue

Fix the compile error: "declaration of 'struct wifi_pos_osif_ops'
will not be visible outside of wifi_pos_register_osif_callbacks"
when enable CONFIG_WIFI_POS_CONVERGED but disable the macro
WLAN_FEATURE_RTT_11AZ_SUPPORT.

Change-Id: Ib0043a109244d25368b7508b67b5b7b5c26cd3bf
CRs-Fixed: 3338198
Цей коміт міститься в:
Chaoli Zhou
2022-11-16 14:25:20 +08:00
зафіксовано Madan Koyyalamudi
джерело 7385e3c88a
коміт c0d40ef91a

Переглянути файл

@@ -26,7 +26,7 @@
#include <wlan_objmgr_cmn.h>
#include "wifi_pos_public_struct.h"
#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
#if defined(WIFI_POS_CONVERGED)
/**
* struct wifi_pos_osif_ops - Wifi POS osif callbacks
* @osif_initiate_pasn_cb: Callback to initiate PASN authentication
@@ -37,6 +37,9 @@ struct wifi_pos_osif_ops {
uint8_t num_pasn_peers,
bool is_initiate_pasn);
};
#endif
#if defined(WIFI_POS_CONVERGED) && defined(WLAN_FEATURE_RTT_11AZ_SUPPORT)
/**
* osif_wifi_pos_register_ops() - Register Wifi-Pos module OS_IF callbacks