1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
openwrt/package/network/services/hostapd
Leon M. George f974f8213b hostapd: declare struct wpa_bss early
wps_supplicant.h assumes that 'struct wpa_bss' is forward declared if
CONFIG_WPS is not defined.  With the later inclusion of
600-ubus_support, the issue manifests in warnings like these:

wps_supplicant.h:113:15: warning: 'struct wpa_bss' declared inside parameter list will not be visible outside of this definition or declaration
        struct wpa_bss *bss)
               ^~~~~~~

This patch forward declares 'struct wpa_bss' regardless.

Signed-off-by: Leon M. George <leon@georgemail.eu>
[commit message facelift]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-09-19 23:43:27 +02:00
..
files hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
patches hostapd: declare struct wpa_bss early 2019-09-19 23:43:27 +02:00
src hostapd: add Multi-AP patches and config options 2019-02-20 13:17:11 +01:00
Config.in hostapd: adjust removed wolfssl options 2019-07-07 13:02:05 +02:00
Makefile hostapd: SAE/EAP-pwd side-channel attack update 2019-09-10 21:51:41 +02:00