mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-16 19:41:05 +00:00
ath11k_nss: mac80211 Use C99 flexible arrays instead of zero-length arrays
Fixes compile issues on GCC 13.3+ Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
parent
b329b9c7e1
commit
8f2b23c53d
@ -0,0 +1,11 @@
|
||||
--- a/include/linux/ieee80211.h
|
||||
+++ b/include/linux/ieee80211.h
|
||||
@@ -961,7 +961,7 @@ struct ieee80211_tim_ie {
|
||||
u8 dtim_period;
|
||||
u8 bitmap_ctrl;
|
||||
/* variable size: 1 - 251 bytes */
|
||||
- u8 virtual_map[1];
|
||||
+ u8 virtual_map[];
|
||||
} __packed;
|
||||
|
||||
/**
|
||||
Loading…
Reference in New Issue
Block a user