diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2012-12-05 17:36:12 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-12-05 19:54:59 +0400 |
commit | 751413eadc8f0c7691a6cbd40a913ef0ae6b2ce4 (patch) | |
tree | 480ad2d1fc32394eb1db576e768f1044e2f9392f /net/key | |
parent | ab9d6e4ffe192427ce9e93d4f927b0faaa8a941e (diff) | |
download | linux-751413eadc8f0c7691a6cbd40a913ef0ae6b2ce4.tar.xz |
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>
Diffstat (limited to 'net/key')
0 files changed, 0 insertions, 0 deletions