diff options
author | Frank Leipold <frank.leipold@eads.net> | 2008-10-20 15:37:53 +0200 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2008-10-20 15:37:53 +0200 |
commit | c15895ef30c2c03e99802951787183039a349d32 (patch) | |
tree | cfa8bcce5793150db930564c26b3d0f83b2bc63e /include | |
parent | uwb: don't use printk_ratelimit() so often (diff) | |
download | linux-c15895ef30c2c03e99802951787183039a349d32.tar.xz linux-c15895ef30c2c03e99802951787183039a349d32.zip |
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 <frank.leipold@eads.net>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions