mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
staging: vt6655: vnt_rx_data: uCurrRSSI should have the value of *rssi
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>
This commit is contained in:
parent
9aa5bedaa0
commit
f218f40d48
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue