staging: rtl8188eu: Use eth_broadcast_addr() to assign broadcast address
authorLiu Shixin <liushixin2@huawei.com>
Wed, 9 Jun 2021 08:56:50 +0000 (16:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jun 2021 12:27:41 +0000 (14:27 +0200)
commit7973bfefb5ad43fbba72607ed72d916ce5ebb4cc
treed62671e85427487de088b5f6a72d974825a5674e
parentfe5fcefc9130ce80cda024ab44c7353a67df5cb6
staging: rtl8188eu: Use eth_broadcast_addr() to assign broadcast address

Simplify the code by using eth_broadcast_addr() to assign broadcast
address and removing the unnecessary variable bc_addr.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20210609085650.1269008-2-liushixin2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme_ext.c