]> 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)
commita8eb26c8ebcef02c2410104dfd40e3756aca182a
treeebc23f62557135a9f8021bf7c8434f9bfc5061a8
parent1a21976dbf5e604a0d949c20fcac0398385dc6f1
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