From: Tobias Klauser Date: Wed, 3 Nov 2010 09:59:02 +0000 (+0100) Subject: staging: batman-adv: Use linux/etherdevice.h address helper functions X-Git-Tag: v2.6.38-rc1~423^2~363 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5712dc7fc812d1bdbc5e634d389bc759d4e7550c;p=pandora-kernel.git staging: batman-adv: Use linux/etherdevice.h address helper functions Replace custom ethernet address check functions by calls to the helpers in linux/etherdevice.h In one case where the address was tested for broadcast and multicast address, the broadcast address check can be omitted as broadcast is also a multicast address. The patch is only compile-tested. Cc: Marek Lindner Cc: Simon Wunderlich Cc: Andrew Lunn Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed