From: Felix Fietkau Date: Thu, 1 Mar 2012 14:22:09 +0000 (+0100) Subject: mac80211: use compare_ether_addr on MAC addresses instead of memcmp X-Git-Tag: v3.4-rc1~177^2~108^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=888d04dfbe7e09f930fdaafb257cce2c54c9c3f3;p=pandora-kernel.git mac80211: use compare_ether_addr on MAC addresses instead of memcmp 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 Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed