Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267795
b: refs/heads/master
c: 6857f36
h: refs/heads/master
i:
  267793: 5b3071a
  267791: ad29495
v: v3
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent d0895f2 commit 8ead5e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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: 7baf9546daf78de5760bf0b120b1da39ace855b1
refs/heads/master: 6857f36710863716dc60c49e33769dd694aacda6
6 changes: 3 additions & 3 deletions trunk/drivers/staging/rtl8192e/rtl819x_BA.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ union sequence_control {
}field;
};

typedef union _BA_PARAM_SET {
union ba_param_set {
u8 charData[2];
u16 shortData;
struct {
Expand All @@ -54,7 +54,7 @@ typedef union _BA_PARAM_SET {
u16 TID:4;
u16 BufferSize:10;
} field;
} BA_PARAM_SET, *PBA_PARAM_SET;
};

typedef union _DELBA_PARAM_SET {
u8 charData[2];
Expand All @@ -70,7 +70,7 @@ struct ba_record {
struct timer_list Timer;
u8 bValid;
u8 DialogToken;
BA_PARAM_SET BaParamSet;
union ba_param_set BaParamSet;
u16 BaTimeoutValue;
union sequence_control BaStartSeqCtrl;
};
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/rtl8192e/rtl819x_BAProc.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ int rtllib_rx_ADDBAReq( struct rtllib_device* ieee, struct sk_buff *skb)
u16 rc = 0;
u8 * dst = NULL, *pDialogToken = NULL, *tag = NULL;
struct ba_record *pBA = NULL;
PBA_PARAM_SET pBaParamSet = NULL;
union ba_param_set *pBaParamSet = NULL;
u16* pBaTimeoutVal = NULL;
union sequence_control *pBaStartSeqCtrl = NULL;
struct rx_ts_record *pTS = NULL;
Expand All @@ -259,7 +259,7 @@ int rtllib_rx_ADDBAReq( struct rtllib_device* ieee, struct sk_buff *skb)
dst = (u8*)(&req->addr2[0]);
tag += sizeof( struct rtllib_hdr_3addr);
pDialogToken = tag + 2;
pBaParamSet = (PBA_PARAM_SET)(tag + 3);
pBaParamSet = (union ba_param_set *)(tag + 3);
pBaTimeoutVal = (u16*)(tag + 5);
pBaStartSeqCtrl = (union sequence_control *)(req + 7);

Expand Down Expand Up @@ -332,7 +332,7 @@ int rtllib_rx_ADDBARsp( struct rtllib_device* ieee, struct sk_buff *skb)
struct tx_ts_record *pTS = NULL;
u8* dst = NULL, *pDialogToken = NULL, *tag = NULL;
u16* pStatusCode = NULL, *pBaTimeoutVal = NULL;
PBA_PARAM_SET pBaParamSet = NULL;
union ba_param_set *pBaParamSet = NULL;
u16 ReasonCode;

if (skb->len < sizeof( struct rtllib_hdr_3addr) + 9)
Expand All @@ -346,7 +346,7 @@ int rtllib_rx_ADDBARsp( struct rtllib_device* ieee, struct sk_buff *skb)
tag += sizeof( struct rtllib_hdr_3addr);
pDialogToken = tag + 2;
pStatusCode = (u16*)(tag + 3);
pBaParamSet = (PBA_PARAM_SET)(tag + 5);
pBaParamSet = (union ba_param_set *)(tag + 5);
pBaTimeoutVal = (u16*)(tag + 7);

RT_TRACE(COMP_DBG, "====>rx ADDBARSP from :"MAC_FMT"\n", MAC_ARG(dst));
Expand Down

0 comments on commit 8ead5e4

Please sign in to comment.