Skip to content

Commit

Permalink
staging: rtl8192e: Convert typedef phy_sts_cck_819xpci_t to struct ph…
Browse files Browse the repository at this point in the history
…y_sts_cck_819xpci

Remove typedef from struct.
Rename struct.
Rename uses.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent 9c10985 commit ececd69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/rtl8192e/r8190P_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,11 @@ struct phy_sts_ofdm_819xpci {
u8 rxsc_sgien_exflg;
};//;

typedef struct _phy_cck_rx_status_report_819xpci
{
struct phy_sts_cck_819xpci {
u8 adc_pwdb_X[4];
u8 sq_rpt;
u8 cck_agc_rpt;
}phy_sts_cck_819xpci_t, phy_sts_cck_8192s_t;
};//;


#define PHY_RSSI_SLID_WIN_MAX 100
Expand Down
4 changes: 2 additions & 2 deletions drivers/staging/rtl8192e/r8192E_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ void rtl8192_query_rxphystatus(
)
{
struct phy_sts_ofdm_819xpci* pofdm_buf;
phy_sts_cck_819xpci_t * pcck_buf;
struct phy_sts_cck_819xpci * pcck_buf;
struct phy_ofdm_rx_status_rxsc_sgien_exintfflag * prxsc;
u8 *prxpkt;
u8 i,max_spatial_stream, tmp_rxsnr, tmp_rxevm, rxsc_sgien_exflg;
Expand Down Expand Up @@ -1441,7 +1441,7 @@ void rtl8192_query_rxphystatus(

prxpkt += sizeof(rx_fwinfo);

pcck_buf = (phy_sts_cck_819xpci_t *)prxpkt;
pcck_buf = (struct phy_sts_cck_819xpci *)prxpkt;
pofdm_buf = (struct phy_sts_ofdm_819xpci *)prxpkt;

pstats->RxMIMOSignalQuality[0] = -1;
Expand Down

0 comments on commit ececd69

Please sign in to comment.