]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c1678310f6454e764f11b6d970757ab24946037
treed62671e85427487de088b5f6a72d974825a5674e
parent11e0326643696aa100a9fbcc1a91a5959ce2e701
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