staging: vt6655: vnt_rx_data: uCurrRSSI should have the value of *rssi
authorMalcolm Priestley <tvboxspy@gmail.com>
Wed, 29 Oct 2014 17:44:07 +0000 (17:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2014 20:31:31 +0000 (13:31 -0700)
Fixes issue of byBBVGANew is wrong in device_intr

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/dpc.c

index 036bbb0f4824f420915f77f2cb437d5f18609028..11153ef0dd959b304e74394720a97d92d097abb3 100644 (file)
@@ -1382,7 +1382,7 @@ static bool vnt_rx_data(struct vnt_private *priv, struct sk_buff *skb,
        RFvRSSITodBm(priv, *rssi, &rx_dbm);
 
        priv->byBBPreEDRSSI = (u8)rx_dbm + 1;
-       priv->uCurrRSSI = priv->byBBPreEDRSSI;
+       priv->uCurrRSSI = *rssi;
 
        skb_pull(skb, 4);
        skb_trim(skb, frame_size);