Avoid compiler warning about unused local variable when
CONFIG_IEEE80211BE is not defined.
Fixes: 806a29e9f1e0 ("MBSSID: Handle Probe Response frame formation with MLO MBSSID")
Signed-off-by: Jouni Malinen <jouni.malinen@oss.qualcomm.com>
static size_t hostapd_probe_resp_elems_len(struct hostapd_data *hapd,
struct probe_resp_params *params)
{
+#ifdef CONFIG_IEEE80211BE
struct hostapd_data *hapd_probed = hapd;
+#endif /* CONFIG_IEEE80211BE */
size_t buflen = 0;
hapd = hostapd_mbssid_get_tx_bss(hapd);
struct probe_resp_params *params,
u8 *pos, size_t len)
{
+#ifdef CONFIG_IEEE80211BE
struct hostapd_data *hapd_probed = hapd;
+#endif /* CONFIG_IEEE80211BE */
u8 *csa_pos;
u8 *epos;