hostapd: fix build when 80211BE enabled
authorJanusz Dziedzic <janusz.dziedzic@gmail.com>
Tue, 20 Aug 2024 11:22:31 +0000 (13:22 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 2 Oct 2024 13:12:18 +0000 (15:12 +0200)
commitd1fc8c3db0e75f625b810cd57c4ee3d9493f8c57
tree1303194da475fa934e1d12e6dc5cb8e32e0f6199
parentb1d6068330c7c23be6d0d2a5c3e8a72ac6e25ac1
hostapd: fix build when 80211BE enabled

In file included from hostapd-wpad-basic-mbedtls/hostapd-2024.03.09~695277a5/src/ap/ubus.h:11,
                 from hostapd-wpad-basic-mbedtls/hostapd-2024.03.09~695277a5/src/ap/hostapd.h:21,
                 from main.c:26:
hostapd-2024.03.09~695277a5/src/ap/sta_info.h: In function 'ap_sta_is_mld':
hostapd-2024.03.09~695277a5/src/ap/sta_info.h:425:20: error: invalid use of undefined type 'struct hostapd_data'
  425 |         return hapd->conf->mld_ap && sta && sta->mld_info.mld_sta;
      |                    ^~

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
package/network/services/hostapd/patches/803-hostapd-fix-80211be-build.patch [new file with mode: 0644]