mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 18:42:21 +00:00
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 <[email protected]> Signed-off-by: David Vrabel <[email protected]>