On Wed, 2012-12-05 at 14:36 +0100, Helmut Schaa wrote: > 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. Applied. If we didn't need "local" we could mark the function __pure and the compiler would do this optimisation for us ;-)) johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html