]> rtime.felk.cvut.cz Git - linux-imx.git/commit
mac80211: don't assume channel is set in tracing
authorJohannes Berg <johannes.berg@intel.com>
Thu, 26 Jul 2012 12:27:39 +0000 (14:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 20 Aug 2012 12:13:42 +0000 (14:13 +0200)
commit3d01be72e6fe372a0602221090707a1f04c44646
treeda97c2f82457418561008f00d0e3603d9c70569d
parentf9e6e95b63758202fe2ce43bd7c922db2ff50f80
mac80211: don't assume channel is set in tracing

With the move to multi-channel and away from
drv_config(), hw.conf.channel will not always
be set, only for devices using the current API
instead of the new channel context APIs. Check
the channel is set before adding its frequency
to the trace data.

Also break some overly long lines in the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/trace.h