Skip to content

Wi-Fi DPP code causing build error #79897

@fengming-ye

Description

@fengming-ye

Describe the bug
DPP build error when CONFIG_WIFI_NM_WPA_SUPPLICANT_DPP=n and CONFIG_WIFI_NM_HOSTAPD_AP=y

To Reproduce
CONFIG_WIFI_NM_WPA_SUPPLICANT_DPP=n and CONFIG_WIFI_NM_HOSTAPD_AP=y
build wifi example

Expected behavior
build pass

Impact
wifi examples build error

Logs and console output
zephyr_downstrem_build/zephyr/modules/hostap/src/supp_api.h:388:56: warning: 'struct wifi_dpp_params' declared inside parameter list will not be visible outside of this definition or declaration
388 | int hapd_dpp_dispatch(const struct device *dev, struct wifi_dpp_params *params);

Environment (please complete the following information):

  • OS: Linux
  • Toolchain: Zephyr SDK
  • Commit SHA or Version used: 1da74ef

Additional context

Metadata

Metadata

Labels

area: Wi-FiWi-FibugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions