mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-25 04:40:32 +00:00
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 | ||