]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: fix TX tracing for non-linear SKBs
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 May 2017 11:04:40 +0000 (13:04 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 23 Jun 2017 08:57:48 +0000 (11:57 +0300)
commit8790fce4f696ed55195283d26685cc0edaea63a8
tree077fa1ec69d309f8588be9b5968ca62a8817cbf7
parent78c1acf35fcd528ff4c76057d5724ac00e0f7fff
iwlwifi: fix TX tracing for non-linear SKBs

When sending non-linear SKBs that should be included in the regular
TX tracing completely (and not be pushed into the tx_data tracing),
the (tracing) code didn't correctly take the fact that they were
non-linear into account and added only the skb head portion.

This probably never really triggered, since those frames we want
traced fully are most likely linear anyway, but the code gets easier
to understand and we lose an argument to the tracing function, so
overall fixing this is better.

Fixes: 206eea783385 ("iwlwifi: pcie: support frag SKBs")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h
drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c
drivers/net/wireless/intel/iwlwifi/pcie/tx.c