aboutsummaryrefslogtreecommitdiffstats
path: root/tools/patch-image/src
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@citymesh.com>2022-10-04 10:48:18 +0200
committerKoen Vandeputte <koen.vandeputte@citymesh.com>2022-10-04 11:22:29 +0200
commit45109f69a64c31aa64db05d5de37cd7f6a1aaaa2 (patch)
tree92a4ac676c767668f7105c0ba23e39997f6482fd /tools/patch-image/src
parentc27b43956407f3adc3cc2693792acd6b40a01877 (diff)
downloadupstream-45109f69a64c31aa64db05d5de37cd7f6a1aaaa2.tar.gz
upstream-45109f69a64c31aa64db05d5de37cd7f6a1aaaa2.tar.bz2
upstream-45109f69a64c31aa64db05d5de37cd7f6a1aaaa2.zip
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>
Diffstat (limited to 'tools/patch-image/src')
0 files changed, 0 insertions, 0 deletions
='#n159'>159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235