diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-19 10:11:23 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-24 01:53:58 -0500 |
commit | 7baf9546daf78de5760bf0b120b1da39ace855b1 (patch) | |
tree | 87d63f5be3bef9cb8f6a7f2c13c6da1d7a62e9cf /drivers/staging/rtl8192e/rtl819x_BA.h | |
parent | edc4b2c5708547de030ff73ffc771ad498209206 (diff) |
staging: rtl8192e: Convert typedef SEQUENCE_CONTROL to union sequence_control
Remove typedef from union.
Rename union.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl819x_BA.h')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_BA.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_BA.h b/drivers/staging/rtl8192e/rtl819x_BA.h index a0c46c5a6934..a868d659f68c 100644 --- a/drivers/staging/rtl8192e/rtl819x_BA.h +++ b/drivers/staging/rtl8192e/rtl819x_BA.h @@ -36,14 +36,14 @@ #define DELBA_REASON_END_BA 37 #define DELBA_REASON_UNKNOWN_BA 38 #define DELBA_REASON_TIMEOUT 39 -typedef union _SEQUENCE_CONTROL{ +union sequence_control { u16 ShortData; struct { u16 FragNum:4; u16 SeqNum:12; }field; -}SEQUENCE_CONTROL, *PSEQUENCE_CONTROL; +}; typedef union _BA_PARAM_SET { u8 charData[2]; @@ -72,7 +72,7 @@ struct ba_record { u8 DialogToken; BA_PARAM_SET BaParamSet; u16 BaTimeoutValue; - SEQUENCE_CONTROL BaStartSeqCtrl; + union sequence_control BaStartSeqCtrl; }; #endif |