Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267801
b: refs/heads/master
c: 626f951
h: refs/heads/master
i:
  267799: 4f7866e
v: v3
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent e5bfaea commit 9e6a6e2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed306e486d673a3ba4f9b0f2ab15afab0a6ba171
refs/heads/master: 626f951d76279823711fd0f9b876fafee39c3dec
4 changes: 2 additions & 2 deletions trunk/drivers/staging/rtl8192e/rtl819x_Qos.h
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ typedef u8 AC_UAPSD, *PAC_UAPSD;
#define GET_BE_UAPSD(_apsd) ((_apsd) & BIT3)
#define SET_BE_UAPSD(_apsd) ((_apsd) |= BIT3)

typedef union _QOS_TCLAS{
union qos_tclas {

struct _TYPE_GENERAL{
u8 Priority;
Expand Down Expand Up @@ -300,7 +300,7 @@ typedef union _QOS_TCLAS{
u8 Mask;
u16 TagType;
} TYPE2_8021Q;
} QOS_TCLAS, *PQOS_TCLAS;
};

struct qos_tstream {

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/rtl8192e/rtl819x_TS.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct ts_common_info {
struct timer_list InactTimer;
u8 Addr[6];
union tspec_body TSpec;
QOS_TCLAS TClass[TCLAS_NUM];
union qos_tclas TClass[TCLAS_NUM];
u8 TClasProc;
u8 TClasNum;
};
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/rtl8192e/rtl819x_TSProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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
)
Expand All @@ -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;
Expand Down

0 comments on commit 9e6a6e2

Please sign in to comment.