do proper subclassing of node free+copy; the previous hack falls apart when

the 802.11 layer does useful work

Obtained from:	madwifi
This commit is contained in:
Sam Leffler 2004-04-03 03:33:02 +00:00
parent b08f499b32
commit f61dd564dd

View File

@ -93,6 +93,11 @@ struct ath_softc {
struct ieee80211com sc_ic; /* IEEE 802.11 common */
int (*sc_newstate)(struct ieee80211com *,
enum ieee80211_state, int);
void (*sc_node_free)(struct ieee80211com *,
struct ieee80211_node *);
void (*sc_node_copy)(struct ieee80211com *,
struct ieee80211_node *,
const struct ieee80211_node *);
device_t sc_dev;
bus_space_tag_t sc_st; /* bus space tag */
bus_space_handle_t sc_sh; /* bus space handle */