From: Johannes Berg Date: Mon, 10 Aug 2009 14:01:54 +0000 (+0200) Subject: mac80211: take statistics before encryption X-Git-Tag: v2.6.32-rc1~703^2~367^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feff1f2fea3fc7ee055e46d0fbdb2d25ad2b14c4;p=pandora-kernel.git mac80211: take statistics before encryption When encryption is used, the number of bytes sent to the peer increases by the IV and ICV. This is accounted if software encryption is used, but not if the devices does hardware encryption. To make the numbers comparable, never account for that overhead. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed