mac80211: use compare_ether_addr on MAC addresses instead of memcmp
authorFelix Fietkau <nbd@openwrt.org>
Thu, 1 Mar 2012 14:22:09 +0000 (15:22 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 5 Mar 2012 20:38:31 +0000 (15:38 -0500)
Because of the constant size and guaranteed 16 bit alignment, the inline
compare_ether_addr function is much cheaper than calling memcmp.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found