diff options
author | Leon M. George <leon@georgemail.eu> | 2019-09-11 15:22:55 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-09-19 23:43:27 +0200 |
commit | f974f8213b94578581b35e6b3f8fb1fd5a35f753 (patch) | |
tree | 8f9aef908ce02d00b37615dffc53e0e26d2e70e2 /package/network/services/hostapd/patches/300-noscan.patch | |
parent | a123df275846b1b83aaf3d7488a1544f7c0e09aa (diff) | |
download | upstream-f974f8213b94578581b35e6b3f8fb1fd5a35f753.tar.gz upstream-f974f8213b94578581b35e6b3f8fb1fd5a35f753.tar.bz2 upstream-f974f8213b94578581b35e6b3f8fb1fd5a35f753.zip |
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>
Diffstat (limited to 'package/network/services/hostapd/patches/300-noscan.patch')
0 files changed, 0 insertions, 0 deletions