Search Linux Wireless

Re: [PATCH v2 2/4] mac80211_hwsim: hrtimer beacon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux