On Wed, 2013-01-02 at 14:55 -0800, Thomas Pedersen wrote: > - struct ieee80211_hw *hw = (struct ieee80211_hw *) arg; > - struct mac80211_hwsim_data *data = hw->priv; > + struct tasklet_hrtimer *ttimer = container_of(timer, > + struct tasklet_hrtimer, > + timer); > + struct mac80211_hwsim_data *data = container_of(ttimer, > + struct mac80211_hwsim_data, > + beacon_timer);
I simplified this to just use "beacon_timer.timer" in the second container_of() johannes _______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
