diff options
author | Michael Straube | 2018-12-18 19:34:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2018-12-19 08:32:33 +0100 |
commit | 0ef9f86b935274a00d781a0245cb16d62eda501a (patch) | |
tree | 8398d577c8811190c23ae1f38798cbd0d6fa1481 /drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | |
parent | staging: rtl8188eu: remove redundant declaration in rtw_mlme_ext.c (diff) | |
download | kernel-qcow2-linux-0ef9f86b935274a00d781a0245cb16d62eda501a.tar.gz kernel-qcow2-linux-0ef9f86b935274a00d781a0245cb16d62eda501a.tar.xz kernel-qcow2-linux-0ef9f86b935274a00d781a0245cb16d62eda501a.zip |
staging: rtl8188eu: convert unsigned char arrays to u8
Change the type of some arrays from unsigned char to u8.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_mlme_ext.c')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c index 30ebec6c32be..dd1280eb3355 100644 --- a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c @@ -22,15 +22,15 @@ static u8 null_addr[ETH_ALEN] = {0, 0, 0, 0, 0, 0}; /************************************************** OUI definitions for the vendor specific IE ***************************************************/ -unsigned char RTW_WPA_OUI[] = {0x00, 0x50, 0xf2, 0x01}; -unsigned char WMM_OUI[] = {0x00, 0x50, 0xf2, 0x02}; -unsigned char WPS_OUI[] = {0x00, 0x50, 0xf2, 0x04}; -unsigned char P2P_OUI[] = {0x50, 0x6F, 0x9A, 0x09}; +u8 RTW_WPA_OUI[] = {0x00, 0x50, 0xf2, 0x01}; +u8 WMM_OUI[] = {0x00, 0x50, 0xf2, 0x02}; +u8 WPS_OUI[] = {0x00, 0x50, 0xf2, 0x04}; +u8 P2P_OUI[] = {0x50, 0x6F, 0x9A, 0x09}; -unsigned char WMM_PARA_OUI[] = {0x00, 0x50, 0xf2, 0x02, 0x01, 0x01}; +u8 WMM_PARA_OUI[] = {0x00, 0x50, 0xf2, 0x02, 0x01, 0x01}; -unsigned char WPA_TKIP_CIPHER[4] = {0x00, 0x50, 0xf2, 0x02}; -unsigned char RSN_TKIP_CIPHER[4] = {0x00, 0x0f, 0xac, 0x02}; +u8 WPA_TKIP_CIPHER[4] = {0x00, 0x50, 0xf2, 0x02}; +u8 RSN_TKIP_CIPHER[4] = {0x00, 0x0f, 0xac, 0x02}; /******************************************************** MCS rate definitions @@ -5207,7 +5207,7 @@ u8 setkey_hdl(struct adapter *padapter, u8 *pbuf) struct setkey_parm *pparm = (struct setkey_parm *)pbuf; struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; struct mlme_ext_info *pmlmeinfo = &pmlmeext->mlmext_info; - unsigned char null_sta[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; + u8 null_sta[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; /* main tx key for wep. */ if (pparm->set_tx) |