From: Marek Lindner Date: Thu, 4 Nov 2010 22:02:30 +0000 (+0100) Subject: Staging: batman-adv: suppress false warning when changing the mac address X-Git-Tag: v2.6.37-rc2~22^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d774a7fed886522f55119ef524cbe3c90bbdc38;p=pandora-kernel.git Staging: batman-adv: suppress false warning when changing the mac address Whenever the mac address of an batman interface is changed check_known_mac_addr() is called to print a warning if the newly added mac address exists an another batman interface. While looping through the batman interface list check_known_mac_addr() only compares mac addresses and does not make sure they belong to different interfaces, thus always printing a warning. Signed-off-by: Marek Lindner Signed-off-by: Sven Eckelmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed