OSDN Git Service

staging:rtl8192u: Replace magic number 6 with ETH_ALEN - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Wed, 8 Aug 2018 21:00:24 +0000 (22:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:17:07 +0000 (19:17 +0200)
commit51e1eb742745ffd3ee0960eaf20507ca2f44bb64
treeb0eda155b4097f42482dfa858c374948083fd34f
parentace3c2a23cf8170ba5d5db45d8150f9d15773fb8
staging:rtl8192u: Replace magic number 6 with ETH_ALEN - Style

The array size 6 represents the length of an Ethernet address so the
magic number has been replaced with the defined constant representing
that length.

This is a coding style change which should not impact runtime code
execution.

Signed-off-by: John Whitmore <johnfwhitmore@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/dot11d.h