From: Johannes Berg Date: Fri, 27 Aug 2010 10:35:56 +0000 (+0200) Subject: mac80211: simplify zero address checks X-Git-Tag: v2.6.37-rc1~147^2~584^2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf533e0bfd77d9671adabdf134b1ac7f24bb0670;p=pandora-kernel.git mac80211: simplify zero address checks The libertas_tf special code for zero addresses is a bit too complex, it compares against a stack value instead of using is_zero_ether_addr() and tries to update all interfaces even if just the one that's being brought up needs to be changed. Additionally, the repeated check for a valid MAC address need only be done if we actually changed it on the fly. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed