diff options
author | glebius <glebius@FreeBSD.org> | 2015-05-25 19:53:29 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2015-05-25 19:53:29 +0000 |
commit | 4a0e78ec55ee3f817d1cd4e4e064d05107aa36ff (patch) | |
tree | d5f9d0f569bb5ced86891fecc5d0120ece350c33 /sys/net80211/ieee80211_var.h | |
parent | f48b822fcb702453a9d199333bda92f7f0c52227 (diff) | |
download | FreeBSD-src-4a0e78ec55ee3f817d1cd4e4e064d05107aa36ff.zip FreeBSD-src-4a0e78ec55ee3f817d1cd4e4e064d05107aa36ff.tar.gz |
Change three methods in struct ieee80211com, namely ic_updateslot,
ic_update_mcast and ic_update_promisc, to pass pointer to the ieee80211com,
not to the ifnet.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 4c9fbf3..74aabf4 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -258,11 +258,11 @@ struct ieee80211com { struct mbuf *, const struct ieee80211_bpf_params *); /* update device state for 802.11 slot time change */ - void (*ic_updateslot)(struct ifnet *); + void (*ic_updateslot)(struct ieee80211com *); /* handle multicast state changes */ - void (*ic_update_mcast)(struct ifnet *); + void (*ic_update_mcast)(struct ieee80211com *); /* handle promiscuous mode changes */ - void (*ic_update_promisc)(struct ifnet *); + void (*ic_update_promisc)(struct ieee80211com *); /* new station association callback/notification */ void (*ic_newassoc)(struct ieee80211_node *, int); /* TDMA update notification */ |