mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-08 07:14:03 +00:00
replace custom macros with is_broadcast_ether_addr
Replace usage of custom macros with is_broadcast_ether_addr. All buffers are properly aligned. Remove the now unsued macros MacAddr_isBcst and IS_MAC_ADDRESS_BROADCAST. Link: https://lore.kernel.org/r/20210805205010.31192-1-straube.linux@gmail.com
This commit is contained in:
committed by
Carlos Garcés
parent
2965c273c9
commit
03af80bee9
@@ -54,7 +54,7 @@ void beamforming_gid_paid(
|
||||
|
||||
/* VHT SU PPDU carrying one or more group addressed MPDUs or */
|
||||
/* Transmitting a VHT NDP intended for multiple recipients */
|
||||
if (MacAddr_isBcst(RA) || MacAddr_isMulticast(RA) || tcb->macId == MAC_ID_STATIC_FOR_BROADCAST_MULTICAST) {
|
||||
if (is_broadcast_ether_addr(RA) || MacAddr_isMulticast(RA) || tcb->macId == MAC_ID_STATIC_FOR_BROADCAST_MULTICAST) {
|
||||
tcb->G_ID = 63;
|
||||
tcb->P_AID = 0;
|
||||
} else if (ACTING_AS_AP(adapter)) {
|
||||
|
||||
Reference in New Issue
Block a user