]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: remove is_{multicast,broadcast}_mac_addr
authorMichael Straube <straube.linux@gmail.com>
Fri, 13 Jul 2018 18:05:08 +0000 (20:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 08:35:59 +0000 (10:35 +0200)
commitc2da53b5cbc2804589950aee58dd8d51c722bb7a
tree9aebef7e61c6b9b2a57d2447be23178f164fb3f0
parent6889d746a7aef56cf4074ec5905dd9b17fa0433a
staging: rtl8188eu: remove is_{multicast,broadcast}_mac_addr

Remove custom is_multicast_mac_addr() and is_broadcast_mac_addr().
Use is_multicast_ether_addr() instead.

By definition the broadcast address is also a multicast address.
is_multicast_ether_addr() returns true for broadcast addresses.
Hence checking for multicast in the conditional is sufficient.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_recv.c
drivers/staging/rtl8188eu/include/ieee80211.h