[PATCH 0/8] staging: r8188eu: refactor rtw_macaddr_cfg()

From: Michael Straube
Date: Mon Aug 30 2021 - 08:04:50 EST


This series refactors rtw_macaddr_cfg().
- use mac_pton() instead of custom approach
- use *_ether_addr() functions to copy the mac address
and check if it is a broadcast or zero address
- assign random default mac address instead of fixed one
- clean up minor style issues

Michael Straube (8):
staging: r8188eu use mac_pton() in rtw_macaddr_cfg()
staging: r8188eu: ensure mac address buffer is properly aligned
staging: r8188eu: use ETH_ALEN
staging: r8188eu: use is_*_ether_addr() in rtw_macaddr_cfg()
staging: r8188eu: use random default mac address
staging: r8188eu: use ether_addr_copy() in rtw_macaddr_cfg()
staging: r8188eu: add missing blank line after declarations
staging: r8188eu: remove unnecessary parentheses

drivers/staging/r8188eu/core/rtw_ieee80211.c | 33 +++++++-------------
drivers/staging/r8188eu/include/rtw_eeprom.h | 2 +-
2 files changed, 12 insertions(+), 23 deletions(-)

--
2.33.0