commit | 3d01be72e6fe372a0602221090707a1f04c44646 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Thu Jul 26 14:27:39 2012 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Aug 20 14:13:42 2012 +0200 |
tree | da97c2f82457418561008f00d0e3603d9c70569d | |
parent | f9e6e95b63758202fe2ce43bd7c922db2ff50f80 [diff] |
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>