staging: rtl8723bs: use is_zero_ether_addr() instead of memcmp()
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 4 Aug 2023 08:38:40 +0000 (16:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Aug 2023 14:19:51 +0000 (16:19 +0200)
commitaf01991005ff8c531ab521b1e1165362e69101d0
tree357acc13bca4c7fcd68569d216a2018892181d96
parent0e21a9d29d8bf9e3fe98c23c827a5be891f74347
staging: rtl8723bs: use is_zero_ether_addr() instead of memcmp()

Use is_zero_ether_addr() instead of memcmp to check
if the ethernet address is all zeros.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20230804083841.1321554-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme.c
drivers/staging/rtl8723bs/core/rtw_recv.c
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c