cfg80211: use compare_ether_addr on MAC addresses instead of memcmp
authorFelix Fietkau <nbd@openwrt.org>
Sun, 18 Mar 2012 21:58:04 +0000 (22:58 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Apr 2012 20:09:35 +0000 (16:09 -0400)
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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found