From: Frank Leipold Date: Mon, 20 Oct 2008 13:37:53 +0000 (+0100) Subject: uwb: wrong sizeof argument in mac address compare X-Git-Tag: v2.6.28-rc1~59^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c15895ef30c2c03e99802951787183039a349d32;p=pandora-kernel.git uwb: wrong sizeof argument in mac address compare In the __uwb_beca_find_bymac function the sizeof returns the length of a pointer and not the data it is referring to. Hence only the first 4 bytes were compared, not the entire 6 bytes MAC address. Now the sizeof takes struct uwb_mac_addr as argument. Signed-off-by: Frank Leipold Signed-off-by: David Vrabel --- Reading git-diff-tree failed