mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
b08f499b32
commit
f61dd564dd
1 changed files with 5 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue