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

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/r8190P_def.h
drivers/staging/rtl8192e/r8192E_dev.c

index 888da4b716a6c33f139e983ae831ed1a876c2a0f..cd259258924b1a902880c451f9540a38e6676d69 100644 (file)
@@ -271,12 +271,12 @@ struct log_int_8190 {
        u32     nIMR_RXFOVW;
 };
 
-typedef struct _phy_ofdm_rx_status_rxsc_sgien_exintfflag{
+struct phy_ofdm_rx_status_rxsc_sgien_exintfflag {
        u8                      reserved:4;
        u8                      rxsc:2;
        u8                      sgi_en:1;
        u8                      ex_intf_flag:1;
-}phy_ofdm_rx_status_rxsc_sgien_exintfflag;
+};//;
 
 typedef struct _phy_ofdm_rx_status_report_819xpci
 {
index e41736b43fa99dd8e082abc4b4e00655555b843e..f55548aa6b08c7752a972a8b5dd07798b783707a 100644 (file)
@@ -1407,7 +1407,7 @@ void rtl8192_query_rxphystatus(
 {
        phy_sts_ofdm_819xpci_t* pofdm_buf;
        phy_sts_cck_819xpci_t   *       pcck_buf;
-       phy_ofdm_rx_status_rxsc_sgien_exintfflag* prxsc;
+       struct phy_ofdm_rx_status_rxsc_sgien_exintfflag * prxsc;
        u8                              *prxpkt;
        u8                              i,max_spatial_stream, tmp_rxsnr, tmp_rxevm, rxsc_sgien_exflg;
        char                            rx_pwr[4], rx_pwr_all=0;
@@ -1580,7 +1580,7 @@ void rtl8192_query_rxphystatus(
 
 
                rxsc_sgien_exflg = pofdm_buf->rxsc_sgien_exflg;
-               prxsc = (phy_ofdm_rx_status_rxsc_sgien_exintfflag *)&rxsc_sgien_exflg;
+               prxsc = (struct phy_ofdm_rx_status_rxsc_sgien_exintfflag *)&rxsc_sgien_exflg;
                if (pdrvinfo->BW)
                        priv->stats.received_bwtype[1+prxsc->rxsc]++;
                else