diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-19 10:27:46 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:58:04 -0500 |
commit | 626f951d76279823711fd0f9b876fafee39c3dec (patch) | |
tree | eb002f60b9b5f49d1ec8fc939b8a9be2f9fe98e4 /drivers/staging/rtl8192e/rtl819x_TSProc.c | |
parent | ed306e486d673a3ba4f9b0f2ab15afab0a6ba171 (diff) | |
download | op-kernel-dev-626f951d76279823711fd0f9b876fafee39c3dec.zip op-kernel-dev-626f951d76279823711fd0f9b876fafee39c3dec.tar.gz |
staging: rtl8192e: Convert typedef QOS_TCLAS to union qos_tclas
Remove typedef from union.
Rename union.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl819x_TSProc.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_TSProc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index 00dbc2e..7947e376 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -106,7 +106,7 @@ void ResetTsCommonInfo(struct ts_common_info *pTsCommonInfo) { memset(pTsCommonInfo->Addr, 0, 6); memset(&pTsCommonInfo->TSpec, 0, sizeof(union tspec_body)); - memset(&pTsCommonInfo->TClass, 0, sizeof(QOS_TCLAS)*TCLAS_NUM); + memset(&pTsCommonInfo->TClass, 0, sizeof(union qos_tclas)*TCLAS_NUM); pTsCommonInfo->TClasProc = 0; pTsCommonInfo->TClasNum = 0; } @@ -294,7 +294,7 @@ void MakeTSEntry( struct ts_common_info *pTsCommonInfo, u8* Addr, union tspec_body *pTSPEC, - PQOS_TCLAS pTCLAS, + union qos_tclas *pTCLAS, u8 TCLAS_Num, u8 TCLAS_Proc ) @@ -310,7 +310,7 @@ void MakeTSEntry( memcpy((u8*)(&(pTsCommonInfo->TSpec)), (u8*)pTSPEC, sizeof(union tspec_body)); for (count = 0; count < TCLAS_Num; count++) - memcpy((u8*)(&(pTsCommonInfo->TClass[count])), (u8*)pTCLAS, sizeof(QOS_TCLAS)); + memcpy((u8*)(&(pTsCommonInfo->TClass[count])), (u8*)pTCLAS, sizeof(union qos_tclas)); pTsCommonInfo->TClasProc = TCLAS_Proc; pTsCommonInfo->TClasNum = TCLAS_Num; |