diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-03-31 16:07:36 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-03-31 16:07:36 +0000 |
commit | 7baff87d11f4d8d368d4f2c81ef1d2b9f9965c81 (patch) | |
tree | 3b68446f951c4498e5c06c098650f3a1a94b708f /sys/net80211/ieee80211_var.h | |
parent | 968dcf13b528f2bef0c89a258be580e007730e6a (diff) | |
download | FreeBSD-src-7baff87d11f4d8d368d4f2c81ef1d2b9f9965c81.zip FreeBSD-src-7baff87d11f4d8d368d4f2c81ef1d2b9f9965c81.tar.gz |
Constify vap argument of ieee80211_{note,discard}* functions.
MFC after: 1 week
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 3916b6c..3fa0aec 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -852,10 +852,10 @@ ieee80211_htchanflags(const struct ieee80211_channel *c) if (ieee80211_msg(_vap, _m)) \ ieee80211_note_frame(_vap, _wh, _fmt, __VA_ARGS__); \ } while (0) -void ieee80211_note(struct ieee80211vap *, const char *, ...); -void ieee80211_note_mac(struct ieee80211vap *, +void ieee80211_note(const struct ieee80211vap *, const char *, ...); +void ieee80211_note_mac(const struct ieee80211vap *, const uint8_t mac[IEEE80211_ADDR_LEN], const char *, ...); -void ieee80211_note_frame(struct ieee80211vap *, +void ieee80211_note_frame(const struct ieee80211vap *, const struct ieee80211_frame *, const char *, ...); #define ieee80211_msg_debug(_vap) \ ((_vap)->iv_debug & IEEE80211_MSG_DEBUG) @@ -893,11 +893,11 @@ void ieee80211_note_frame(struct ieee80211vap *, ieee80211_discard_mac(_vap, _mac, _type, _fmt, __VA_ARGS__);\ } while (0) -void ieee80211_discard_frame(struct ieee80211vap *, +void ieee80211_discard_frame(const struct ieee80211vap *, const struct ieee80211_frame *, const char *type, const char *fmt, ...); -void ieee80211_discard_ie(struct ieee80211vap *, +void ieee80211_discard_ie(const struct ieee80211vap *, const struct ieee80211_frame *, const char *type, const char *fmt, ...); -void ieee80211_discard_mac(struct ieee80211vap *, +void ieee80211_discard_mac(const struct ieee80211vap *, const uint8_t mac[IEEE80211_ADDR_LEN], const char *type, const char *fmt, ...); #else |