diff options
| author | Martin Kaiser <[email protected]> | 2022-10-31 21:54:10 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-11-02 08:16:45 +0100 |
| commit | e5c3ddd394a409021377b5454a5bd1efa1ba8447 (patch) | |
| tree | 9bccba96a0a1f5ba2ce65c62e1cf1c79137e252f /tools/perf/scripts/python | |
| parent | ae85931f8f483ed58f7c90c99c75afd8482e0399 (diff) | |
staging: r8188eu: use ether_addr_equal for address comparison
We can use ether_addr_equal instead of memcmp in
update_recvframe_phyinfo_88e for comparing the incoming frame's
destination address with our local address.
Both struct ieee80211_hdr and struct eeprom_priv's mac_addr component are
2-byte aligned.
Suggested-by: Joe Perches <[email protected]>
Tested-by: Philipp Hortmann <[email protected]> # Edimax N150
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions