Search Linux Wireless

Re: [PATCH] mac80211: Skip radiotap space calculation if no monitor exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux