linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to find sdata's frequency?
@ 2013-05-01 21:00 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2013-05-01 21:00 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

For ath9k, the code below finds a chanctx_conf (and channel), but for ath9k_htc
it does not.  Any idea for how to find the current operating
channel for ath9k_htc?

	chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf);
	if (chanctx_conf)
		channel = chanctx_conf->def.chan;
	else
		channel = NULL;

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-01 21:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-01 21:00 How to find sdata's frequency? Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).