Search Linux Wireless

Re: [PATCH 2/3] mac80211: include ieee80211_local in chanctx

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

 



On Fri, 2014-03-07 at 12:19 +0100, Michal Kazior wrote:
> Channel contexts are implicitly bound to hw
> already so make it possible to dereference it
> through the channel context itself.
> 
> This will make it possible to reduce number of
> arguments for chanctx-related functions.

I don't really see much point in this, is there ever anything where we
really get only a channel context and don't already have the local
pointer?

With interfaces, at least, we need it because we can get an interface
through e.g. do_stop or do_open, so we don't have an easy way to
reference local, but here? I don't think our functions have so many
arguments that it's worth putting a pointer into the struct instead.

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