staging: r8188eu: use helper to set broadcast address
authorMartin Kaiser <martin@kaiser.cx>
Wed, 20 Oct 2021 19:54:00 +0000 (21:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Oct 2021 08:27:05 +0000 (10:27 +0200)
commite537d53c80cf26a37ccce73a7f684e80831b9a32
tree021325913d1442823bd9e9c881f5d8233bbf6fa8
parent083d9d40fffa733b427fb111770ab925b8bfecbd
staging: r8188eu: use helper to set broadcast address

The eth_broadcast_addr helper assigns the broadcast address to an address
array. Call this function instead of copying the address bytes manually.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211020195401.12931-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c
drivers/staging/r8188eu/hal/rtl8188e_cmd.c