diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-12-07 20:31:53 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-12-07 20:31:53 +0000 |
commit | 1f078120955947c85c54a8c088782ea5e4451eb5 (patch) | |
tree | f6b3c72170569c7284966ecd61e07692151ffb73 /sys/net80211/ieee80211_proto.h | |
parent | fb4a86164dc5ded5b42b7511d3bf48ae11ec891e (diff) | |
download | src-1f078120955947c85c54a8c088782ea5e4451eb5.tar.gz src-1f078120955947c85c54a8c088782ea5e4451eb5.zip |
net80211: Fix mismatches in array bounds.
Reported by: GCC -Warray-parameter
Reviewed by: imp, emaste (earlier version)
Differential Revision: https://reviews.freebsd.org/D37546
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r-- | sys/net80211/ieee80211_proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h index 4b324caa694b..e9b5157716d4 100644 --- a/sys/net80211/ieee80211_proto.h +++ b/sys/net80211/ieee80211_proto.h @@ -459,8 +459,8 @@ void ieee80211_notify_cac(struct ieee80211com *, enum ieee80211_notify_cac_event); void ieee80211_notify_node_deauth(struct ieee80211_node *); void ieee80211_notify_node_auth(struct ieee80211_node *); -void ieee80211_notify_country(struct ieee80211vap *, const uint8_t [], - const uint8_t cc[2]); +void ieee80211_notify_country(struct ieee80211vap *, + const uint8_t [IEEE80211_ADDR_LEN], const uint8_t cc[2]); void ieee80211_notify_radio(struct ieee80211com *, int); void ieee80211_notify_ifnet_change(struct ieee80211vap *); #endif /* _NET80211_IEEE80211_PROTO_H_ */ |