tn3399_openwrt/package/kernel/mac80211
Koen Vandeputte 45109f69a6 mac80211: fix compile error when mesh is disabled
This fixes following compile error seen when
building mac80211 with mesh disabled:

.../backports-5.15.58-1/net/mac80211/agg-rx.c: In function 'ieee80211_send_addba_resp':
...backports-5.15.58-1/net/mac80211/agg-rx.c:255:17: error: 'struct sta_info' has no member named 'mesh'
  255 |         if (!sta->mesh)
      |                 ^~

sta_info.h shows this item as being optional based on flags:

	struct mesh_sta *mesh;

Guard the check to fix this.

Fixes: f96744ba6b ("mac80211: mask nested A-MSDU support for mesh")
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2022-10-04 11:22:29 +02:00
..
files mac80211: fix parameter reading for AC_BE tx bursting 2022-09-24 17:41:38 +02:00
patches mac80211: fix compile error when mesh is disabled 2022-10-04 11:22:29 +02:00
scripts mac80211: replace backticks by $(...) 2020-05-13 19:01:23 +02:00
ath.mk ath10k: enable encapsulation offload by default 2022-06-27 21:33:16 +02:00
broadcom.mk mac80211: enable CONFIG_BRCMFMAC_SDIO for imx/cortexa7 2022-07-11 14:18:40 +02:00
intel.mk mac80211: disable drivers that rely on wireless extensions 2022-09-22 15:26:58 +02:00
Makefile mac80211: mark lib80211 as hidden 2022-09-23 12:06:06 +02:00
marvell.mk mac80211: disable drivers that rely on wireless extensions 2022-09-22 15:26:58 +02:00
ralink.mk treewide: nuke DRIVER_11W_SUPPORT 2020-12-23 16:36:08 +01:00
realtek.mk mac80211: add debug compile option for rtw88 devices 2022-02-20 14:26:40 +01:00