net:drivers/net: Miscellaneous conversions to ETH_ALEN
Convert the memset/memcpy uses of 6 to ETH_ALEN where appropriate. Also convert some struct definitions and u8 array declarations of [6] to ETH_ALEN. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
0b3d8e087b
commit
d458cdf712
@@ -217,7 +217,7 @@ static void prism2_host_roaming(local_info_t *local)
|
||||
}
|
||||
}
|
||||
|
||||
memcpy(req.bssid, selected->bssid, 6);
|
||||
memcpy(req.bssid, selected->bssid, ETH_ALEN);
|
||||
req.channel = selected->chid;
|
||||
spin_unlock_irqrestore(&local->lock, flags);
|
||||
|
||||
|
Reference in New Issue
Block a user