aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2018-07-08 13:58:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-08 17:42:05 +0200
commit4f98cf805d42c652b0c0e6737d8e025de881e293 (patch)
tree9dc47745371e83007db2de7eea8e515bde4918ef /scripts/objdiff
parentstaging: rtl8723bs: remove braces from single if statement (diff)
staging: rtl8188eu: refactor rtw_macaddr_cfg()
Use ether_addr_copy() instead of memcpy() to copy the mac address. Using is_broadcast_ether_addr() and is_zero_ether_addr() instead of testing each byte of the mac[] array for 0xff and 0x00 shortens the code and improves readability. Instead of a fixed default mac address use a random one to reduce the likelihood of mac address collision. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions