Commit 125cfc63 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: struct vnt_private rename uCurrRSSI to current_rssi

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 113f0b91
...@@ -314,7 +314,7 @@ struct vnt_private { ...@@ -314,7 +314,7 @@ struct vnt_private {
u64 current_tsf; u64 current_tsf;
/* 802.11 MAC specific */ /* 802.11 MAC specific */
u32 uCurrRSSI; u32 current_rssi;
/* Antenna Diversity */ /* Antenna Diversity */
int bTxRxAntInv; int bTxRxAntInv;
......
...@@ -153,7 +153,7 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb, ...@@ -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); vnt_rf_rssi_to_dbm(priv, *rssi, &rx_dbm);
priv->byBBPreEDRSSI = (u8)rx_dbm + 1; priv->byBBPreEDRSSI = (u8)rx_dbm + 1;
priv->uCurrRSSI = priv->byBBPreEDRSSI; priv->current_rssi = priv->byBBPreEDRSSI;
frame = skb_data + 8; frame = skb_data + 8;
......
...@@ -660,7 +660,7 @@ int vnt_rf_setpower(struct vnt_private *priv, u32 rate, u32 channel) ...@@ -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) static u8 vnt_rf_addpower(struct vnt_private *priv)
{ {
s32 rssi = -priv->uCurrRSSI; s32 rssi = -priv->current_rssi;
if (!rssi) if (!rssi)
return 7; return 7;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment