Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267805
b: refs/heads/master
c: 66ba443
h: refs/heads/master
i:
  267803: 0afbc98
v: v3
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 02ba9f3 commit 544d537
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: eb85e4689631ce116b74a87ce8929d07ba9b7601
refs/heads/master: 66ba443abf111ab8e8df86e6eb0fb8d87fd5dc21
6 changes: 3 additions & 3 deletions trunk/drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ struct rtllib_rxb {
u8 src[ETH_ALEN];
}__attribute__((packed));

typedef union _frameqos {
union frameqos {
u16 shortdata;
u8 chardata[2];
struct {
Expand All @@ -1361,7 +1361,7 @@ typedef union _frameqos {
u16 reserved:1;
u16 txop:8;
}field;
}frameqos,*pframeqos;
};

/* SWEEP TABLE ENTRIES NUMBER*/
#define MAX_SWEEP_TAB_ENTRIES 42
Expand Down Expand Up @@ -1511,7 +1511,7 @@ static inline u8 Frame_QoSTID(u8* buf)
u16 fc;
hdr = (struct rtllib_hdr_3addr *)buf;
fc = le16_to_cpu(hdr->frame_ctl);
return (u8)((frameqos*)(buf + (((fc & RTLLIB_FCTL_TODS)&&(fc & RTLLIB_FCTL_FROMDS))? 30 : 24)))->field.tid;
return (u8)((union frameqos *)(buf + (((fc & RTLLIB_FCTL_TODS)&&(fc & RTLLIB_FCTL_FROMDS))? 30 : 24)))->field.tid;
}


Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/rtl8192e/rtllib_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ u8 parse_subframe(struct rtllib_device* ieee,struct sk_buff *skb,
/* just for debug purpose */
SeqNum = WLAN_GET_SEQ_SEQ(le16_to_cpu(hdr->seq_ctl));
if ((RTLLIB_QOS_HAS_SEQ(fc))&&\
(((frameqos *)(skb->data + RTLLIB_3ADDR_LEN))->field.reserved)) {
(((union frameqos *)(skb->data + RTLLIB_3ADDR_LEN))->field.reserved)) {
bIsAggregateFrame = true;
}

Expand Down

0 comments on commit 544d537

Please sign in to comment.