tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH 4/4] Fix ieee80211_node.h build with -Werror=array-parameter enabled



---
 sys/net80211/ieee80211_node.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index 7a14bc9705b3..ea18e6b4e642 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -283,7 +283,7 @@ void	ieee80211_dump_node(struct ieee80211_node_table *,
 void	ieee80211_dump_nodes(struct ieee80211_node_table *);
 
 struct ieee80211_node *ieee80211_fakeup_adhoc_node(
-		struct ieee80211_node_table *, const u_int8_t macaddr[]);
+		struct ieee80211_node_table *, const u_int8_t macaddr[IEEE80211_ADDR_LEN]);
 void	ieee80211_node_join(struct ieee80211com *, struct ieee80211_node *,int);
 void	ieee80211_node_leave(struct ieee80211com *, struct ieee80211_node *);
 u_int8_t ieee80211_getrssi(struct ieee80211com *ic);
-- 
2.33.1



Home | Main Index | Thread Index | Old Index