From: Felix Fietkau Date: Sun, 18 Mar 2012 21:58:04 +0000 (+0100) Subject: cfg80211: use compare_ether_addr on MAC addresses instead of memcmp X-Git-Tag: v3.5-rc1~109^2~487^2^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6fb08aaa879d1a70ed01e9ac1080066abf7ef78;p=pandora-kernel.git cfg80211: 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed