diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2017-06-14 12:21:05 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-07-21 12:26:38 +0300 |
commit | 5462bcd8c9dc7e7ff2dd54c3f1bb5a9a729f7a73 (patch) | |
tree | 7d4486582288b98952d25de64514105a7276d332 /net/rxrpc/utils.c | |
parent | 2388bd7b133504fa0991f483db66fad3a0de8694 (diff) |
iwlwifi: fix tracing when tx only is enabled
iwl_trace_data is somewhat confusing. It returns a bool
that tells if the payload of the skb should be added to
the tx_data event. If it returns false, then the payload
of the skb is added to the tx event.
The purpose is to be able to start tracing with
-e iwlwifi
and record non-data packets only which saves bandwidth.
Since EAPOLs are important, seldom and not real data
packet (despite being WiFi data packets), they are
included in tx event and thus iwl_trace_data returns false
on those. This last part was buggy, and because of that,
all the data packets were included in the tx event.
Fix that.
Fixes: 0c4cb7314d15 ("iwlwifi: tracing: decouple from mac80211")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'net/rxrpc/utils.c')
0 files changed, 0 insertions, 0 deletions