staging: vt6656: struct vnt_private rename uCurrRSSI to current_rssi
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
113f0b915b
commit
125cfc6344
|
@ -314,7 +314,7 @@ struct vnt_private {
|
|||
u64 current_tsf;
|
||||
|
||||
/* 802.11 MAC specific */
|
||||
u32 uCurrRSSI;
|
||||
u32 current_rssi;
|
||||
|
||||
/* Antenna Diversity */
|
||||
int bTxRxAntInv;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue