net80211: ratectl header guard against multiple inclusions

Add missing #ifndef/#define/#endif guards against multiple inclusions
to ieee80211_ratectl.h as they are missing.

MFC after:	3 days
Sponsored-by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Bjoern A. Zeeb 2021-03-07 17:35:58 +00:00
parent 2c75196236
commit 3fca90af43

View File

@ -27,6 +27,9 @@
* $FreeBSD$
*/
#ifndef _NET80211_IEEE80211_RATECTL_H_
#define _NET80211_IEEE80211_RATECTL_H_
enum ieee80211_ratealgs {
IEEE80211_RATECTL_AMRR = 0,
IEEE80211_RATECTL_RSSADAPT = 1,
@ -169,3 +172,5 @@ ieee80211_ratectl_node_stats(struct ieee80211_node *ni, struct sbuf *s)
return;
vap->iv_rate->ir_node_stats(ni, s);
}
#endif /* _NET80211_IEEE80211_RATECTL_H_ */