Skip to content
Commit c15895ef authored by Frank Leipold's avatar Frank Leipold Committed by David Vrabel
Browse files

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: default avatarFrank Leipold <frank.leipold@eads.net>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@csr.com>
parent 8092d7c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment