commit | 8663b2e02c1b5d5767ebaa38f72128658b6da1e9 | [log] [tgz] |
---|---|---|
author | Michael Straube <straube.linux@gmail.com> | Tue Jul 31 13:34:09 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Aug 02 09:44:27 2018 +0200 |
tree | a97140b74194a795937ed28143259822b45c9e50 | |
parent | 328cf8e7790c852fc887ce067e53900f2c423afa [diff] |
staging: rtl8188eu: use is_broadcast_ether_addr Use is_broadcast_ether_addr instead of checking each byte of the address array for 0xff. Shortens the code and improves readability. As required by is_broadcast_ether_addr, the address array sta_addr is properly aligned in all uses. Thanks to Joe Perches. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>