diff options
author | Michael Straube <straube.linux@gmail.com> | 2020-09-29 09:28:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 11:57:07 +0300 |
commit | a89b10ad9195139e9afd2e0d00b736bd073c04e4 (patch) | |
tree | 10d2e59f7fb6aa9bc529920e05cb30dca997b6dc /drivers/staging/rtl8188eu | |
parent | 43320adc724b77824491cd1c25738320555f77a9 (diff) | |
download | linux-a89b10ad9195139e9afd2e0d00b736bd073c04e4.tar.xz |
staging: rtl8188eu: use ETH_ALEN
Use ETH_ALEN instead of hard coded array size.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20200929062847.23985-4-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r-- | drivers/staging/rtl8188eu/include/rtw_security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/include/rtw_security.h b/drivers/staging/rtl8188eu/include/rtw_security.h index bfa080d6a1a9..737f1da81f6b 100644 --- a/drivers/staging/rtl8188eu/include/rtw_security.h +++ b/drivers/staging/rtl8188eu/include/rtw_security.h @@ -82,7 +82,7 @@ union Keytype { struct rt_pmkid_list { u8 bUsed; - u8 bssid[6]; + u8 bssid[ETH_ALEN]; u8 PMKID[16]; u8 SsidBuf[33]; u8 *ssid_octet; |