From: Malcolm Priestley Date: Sat, 19 Jul 2014 11:30:14 +0000 (+0100) Subject: staging: vt6656: struct vnt_private rename uCurrRSSI to current_rssi X-Git-Tag: v3.17-rc1~123^2~430 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=125cfc634403f7715e9fcd0780995d395ab266c5;p=karo-tx-linux.git staging: vt6656: struct vnt_private rename uCurrRSSI to current_rssi Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 7697a73bcc56..7c8110586da2 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -314,7 +314,7 @@ struct vnt_private { u64 current_tsf; /* 802.11 MAC specific */ - u32 uCurrRSSI; + u32 current_rssi; /* Antenna Diversity */ int bTxRxAntInv; diff --git a/drivers/staging/vt6656/dpc.c b/drivers/staging/vt6656/dpc.c index 5d4c2c1e6716..f8410ce152d6 100644 --- a/drivers/staging/vt6656/dpc.c +++ b/drivers/staging/vt6656/dpc.c @@ -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; diff --git a/drivers/staging/vt6656/rf.c b/drivers/staging/vt6656/rf.c index c98cf60daa2f..3815db92c0ce 100644 --- a/drivers/staging/vt6656/rf.c +++ b/drivers/staging/vt6656/rf.c @@ -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;