commit | 751413eadc8f0c7691a6cbd40a913ef0ae6b2ce4 | [log] [tgz] |
---|---|---|
author | Helmut Schaa <helmut.schaa@googlemail.com> | Wed Dec 05 14:36:12 2012 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Dec 05 16:54:59 2012 +0100 |
tree | 480ad2d1fc32394eb1db576e768f1044e2f9392f | |
parent | ab9d6e4ffe192427ce9e93d4f927b0faaa8a941e [diff] |
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 <helmut.schaa@googlemail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>