]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
staging: rtl8192e: Convert typedef OCTET_STRING to struct octet_string
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 19 Jul 2011 02:57:13 +0000 (21:57 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 06:17:14 +0000 (01:17 -0500)
Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtl819x_Qos.h
drivers/staging/rtl8192e/rtllib.h
drivers/staging/rtl8192e/rtllib_softmac.c

index e9eea5aba9863bfe2dea4e06498096e03297acb3..1b889f226b1bad44e2ffc561a3ade0e4fdcb5b8d 100644 (file)
@@ -103,10 +103,10 @@ struct wmm_tspec {
        TSPEC_BODY      Body;
 };
 
-typedef struct _OCTET_STRING{
+struct octet_string {
         u8             *Octet;
         u16             Length;
-}OCTET_STRING, *POCTET_STRING;
+};//, *struct octet_string *;
 #define        MAX_WMMELE_LENGTH       64
 
 typedef u32 QOS_MODE, *PQOS_MODE;
@@ -356,7 +356,7 @@ struct bss_qos {
 
        QOS_MODE                        bdQoSMode;
        u8                                      bdWMMIEBuf[MAX_WMMELE_LENGTH];
-       OCTET_STRING                    bdWMMIE;
+       struct octet_string bdWMMIE;
 
        QOS_ELE_SUBTYPE         EleSubType;
 
index ffa3fe5fdb42fe658d7e16f19a6cdc0cacc33d9c..9a9f3d3e363c86e05217f54425f552e1834afcb1 100644 (file)
@@ -1882,14 +1882,14 @@ typedef struct _RT_POWER_SAVE_CONTROL
        bool                            bTmpFilterHiddenAP;
        bool                            bTmpUpdateParms;
        u8                              tmpSsidBuf[33];
-       OCTET_STRING                    tmpSsid2Scan;
+       struct octet_string tmpSsid2Scan;
        bool                            bTmpSsid2Scan;
        u8                              tmpNetworkType;
        u8                              tmpChannelNumber;
        u16                             tmpBcnPeriod;
        u8                              tmpDtimPeriod;
        u16                             tmpmCap;
-       OCTET_STRING                    tmpSuppRateSet;
+       struct octet_string tmpSuppRateSet;
        u8                              tmpSuppRateBuf[MAX_NUM_RATES];
        bool                            bTmpSuppRate;
        IbssParms                               tmpIbpm;
index 7930a96375756bfff5fd897fe64b3eb2391b4285..8cf42f0302f62b1f0611263964bf30e29b5566a0 100644 (file)
@@ -1351,7 +1351,7 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,stru
        {
                static u8       AironetIeOui[] = {0x00, 0x01, 0x66};
                u8      CcxAironetBuf[30];
-               OCTET_STRING    osCcxAironetIE;
+               struct octet_string osCcxAironetIE;
 
                memset(CcxAironetBuf, 0,30);
                osCcxAironetIE.Octet = CcxAironetBuf;
@@ -1369,7 +1369,7 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,stru
        if (beacon->bCcxRmEnable)
        {
                static u8 CcxRmCapBuf[] = {0x00, 0x40, 0x96, 0x01, 0x01, 0x00};
-               OCTET_STRING osCcxRmCap;
+               struct octet_string osCcxRmCap;
 
                osCcxRmCap.Octet = CcxRmCapBuf;
                osCcxRmCap.Length = sizeof(CcxRmCapBuf);
@@ -1383,7 +1383,7 @@ inline struct sk_buff *rtllib_association_req(struct rtllib_network *beacon,stru
        if ( beacon->BssCcxVerNumber >= 2 )
        {
                u8                      CcxVerNumBuf[] = {0x00, 0x40, 0x96, 0x03, 0x00};
-               OCTET_STRING    osCcxVerNum;
+               struct octet_string osCcxVerNum;
                CcxVerNumBuf[4] = beacon->BssCcxVerNumber;
                osCcxVerNum.Octet = CcxVerNumBuf;
                osCcxVerNum.Length = sizeof(CcxVerNumBuf);