diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-18 20:11:56 -0500 |
---|---|---|
committer | Larry Finger <Larry.Finger@lwfinger.net> | 2011-08-23 23:13:43 -0500 |
commit | 2c47ae282a4bbaebfdbba614fb6133db520212ba (patch) | |
tree | 27fd9e3654c302a3754471b2989f115b93a4bb37 /drivers/staging/rtl8192e/rtl819x_TSProc.c | |
parent | 60554f2bdb1579ca54631e99642025797f860eb7 (diff) | |
download | op-kernel-dev-2c47ae282a4bbaebfdbba614fb6133db520212ba.zip op-kernel-dev-2c47ae282a4bbaebfdbba614fb6133db520212ba.tar.gz |
staging: rtl8192e: Convert typedef RX_TS_RECORD to struct rx_ts_record
Remove typedef from struct.
Rename struct.
Rename uses.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Diffstat (limited to 'drivers/staging/rtl8192e/rtl819x_TSProc.c')
-rw-r--r-- | drivers/staging/rtl8192e/rtl819x_TSProc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/rtl8192e/rtl819x_TSProc.c b/drivers/staging/rtl8192e/rtl819x_TSProc.c index ca5effa..2ddb652 100644 --- a/drivers/staging/rtl8192e/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192e/rtl819x_TSProc.c @@ -31,7 +31,7 @@ void TsInactTimeout(unsigned long data) void RxPktPendingTimeout(unsigned long data) { - PRX_TS_RECORD pRxTs = (PRX_TS_RECORD)data; + struct rx_ts_record *pRxTs = (struct rx_ts_record *)data; struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, RxTsRecord[pRxTs->num]); PRX_REORDER_ENTRY pReorderEntry = NULL; @@ -123,7 +123,7 @@ void ResetTxTsEntry(struct tx_ts_record *pTS) ResetBaEntry(&pTS->TxPendingBARecord); } -void ResetRxTsEntry(PRX_TS_RECORD pTS) +void ResetRxTsEntry(struct rx_ts_record *pTS) { ResetTsCommonInfo(&pTS->TsCommonInfo); pTS->RxIndicateSeq = 0xffff; @@ -134,7 +134,7 @@ void ResetRxTsEntry(PRX_TS_RECORD pTS) void TSInitialize(struct rtllib_device *ieee) { struct tx_ts_record *pTxTS = ieee->TxTsRecord; - PRX_TS_RECORD pRxTS = ieee->RxTsRecord; + struct rx_ts_record *pRxTS = ieee->RxTsRecord; PRX_REORDER_ENTRY pRxReorderEntry = ieee->RxReorderEntry; u8 count = 0; RTLLIB_DEBUG(RTLLIB_DL_TS, "==========>%s()\n", __func__); @@ -402,7 +402,7 @@ bool GetTs( ResetTxTsEntry(tmp); } else{ - PRX_TS_RECORD tmp = container_of(*ppTS, RX_TS_RECORD, TsCommonInfo); + struct rx_ts_record *tmp = container_of(*ppTS, struct rx_ts_record, TsCommonInfo); ResetRxTsEntry(tmp); } @@ -445,7 +445,7 @@ void RemoveTsEntry( if (TxRxSelect == RX_DIR) { PRX_REORDER_ENTRY pRxReorderEntry; - PRX_TS_RECORD pRxTS = (PRX_TS_RECORD)pTs; + struct rx_ts_record *pRxTS = (struct rx_ts_record *)pTs; if (timer_pending(&pRxTS->RxPktPendingTimer)) del_timer_sync(&pRxTS->RxPktPendingTimer); |