mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
45109f69a6
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:
|
||
---|---|---|
.. | ||
files | ||
patches | ||
scripts | ||
ath.mk | ||
broadcom.mk | ||
intel.mk | ||
Makefile | ||
marvell.mk | ||
ralink.mk | ||
realtek.mk |