From: Helmut Schaa Date: Wed, 5 Dec 2012 13:36:12 +0000 (+0100) Subject: mac80211: skip radiotap space calculation if no monitor exists X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~17^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=751413eadc8f0c7691a6cbd40a913ef0ae6b2ce4;p=pandora-kernel.git mac80211: skip radiotap space calculation if no monitor exists The radiotap header length "needed_headroom" is only required if we're sending the skb to a monitor interface. Hence, move the calculation a bit later so the calculation can be skipped if no monitor interface is present. Signed-off-by: Helmut Schaa Signed-off-by: Johannes Berg --- Reading git-diff-tree failed