staging: vt6656: struct vnt_private rename uCurrRSSI to current_rssi
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 19 Jul 2014 11:30:14 +0000 (12:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:11:58 +0000 (12:11 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/dpc.c
drivers/staging/vt6656/rf.c

index 7697a73bcc56457f1e3fce2490556998bc884465..7c8110586da2e3d13b936de82b5ac85a6a4fff7b 100644 (file)
@@ -314,7 +314,7 @@ struct vnt_private {
        u64 current_tsf;
 
        /* 802.11 MAC specific */
-       u32 uCurrRSSI;
+       u32 current_rssi;
 
        /* Antenna Diversity */
        int bTxRxAntInv;
index 5d4c2c1e67166416f1f98e4a12182b15641d6430..f8410ce152d6d5c44e1b9c691075e0f678161cc4 100644 (file)
@@ -153,7 +153,7 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
        vnt_rf_rssi_to_dbm(priv, *rssi, &rx_dbm);
 
        priv->byBBPreEDRSSI = (u8)rx_dbm + 1;
-       priv->uCurrRSSI = priv->byBBPreEDRSSI;
+       priv->current_rssi = priv->byBBPreEDRSSI;
 
        frame = skb_data + 8;
 
index c98cf60daa2f7972ec3175cca59704cc72137330..3815db92c0ce85a9a54ad9bb96543391a9c81459 100644 (file)
@@ -660,7 +660,7 @@ int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel)
 
 static u8 vnt_rf_addpower(struct vnt_private *priv)
 {
-       s32 rssi = -priv->uCurrRSSI;
+       s32 rssi = -priv->current_rssi;
 
        if (!rssi)
                return 7;