]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: use ETH_ALEN instead of hardcoded numeric constants
authorAntonio Quartulli <ordex@autistici.org>
Mon, 30 Jan 2012 19:59:17 +0000 (20:59 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 11 Apr 2012 12:28:58 +0000 (14:28 +0200)
commit47676e24d298c195ff64452af729a2ad1d557765
treeebc23f62557135a9f8021bf7c8434f9bfc5061a8
parent05caa3669b865fa386e77bb82102ce8483b03b27
batman-adv: use ETH_ALEN instead of hardcoded numeric constants

In packet.h the numeric constant 6 is used instead of the more portable ETH_ALEN
define. This patch substitute any hardcoded value with such define.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
Acked-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/packet.h