staging: rtl8723au: recv_priv->rssi is not used for anything
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
707ce72f97
commit
f7bf8c243d
|
@ -1022,11 +1022,9 @@ rtw_joinbss_update_network23a(struct rtw_adapter *padapter,
|
||||||
* the ptarget_wlan->network.Rssi is raw data, we use
|
* the ptarget_wlan->network.Rssi is raw data, we use
|
||||||
* ptarget_wlan->network.SignalStrength instead (has scaled)
|
* ptarget_wlan->network.SignalStrength instead (has scaled)
|
||||||
*/
|
*/
|
||||||
padapter->recvpriv.rssi = translate_percentage_to_dbm(
|
DBG_8723A("%s signal_strength:%3u, signal_qual:%3u\n",
|
||||||
ptarget_wlan->network.SignalStrength);
|
|
||||||
DBG_8723A("%s signal_strength:%3u, rssi:%3d, signal_qual:%3u\n",
|
|
||||||
__func__, padapter->recvpriv.signal_strength,
|
__func__, padapter->recvpriv.signal_strength,
|
||||||
padapter->recvpriv.rssi, padapter->recvpriv.signal_qual);
|
padapter->recvpriv.signal_qual);
|
||||||
rtw_set_signal_stat_timer(&padapter->recvpriv);
|
rtw_set_signal_stat_timer(&padapter->recvpriv);
|
||||||
|
|
||||||
/* update fw_state will clr _FW_UNDER_LINKING here indirectly */
|
/* update fw_state will clr _FW_UNDER_LINKING here indirectly */
|
||||||
|
|
|
@ -2352,15 +2352,13 @@ void rtw_signal_stat_timer_hdl23a(unsigned long data)
|
||||||
tmp_q = 100;
|
tmp_q = 100;
|
||||||
|
|
||||||
recvpriv->signal_strength = tmp_s;
|
recvpriv->signal_strength = tmp_s;
|
||||||
recvpriv->rssi = (s8)translate_percentage_to_dbm(tmp_s);
|
|
||||||
recvpriv->signal_qual = tmp_q;
|
recvpriv->signal_qual = tmp_q;
|
||||||
|
|
||||||
DBG_8723A("%s signal_strength:%3u, rssi:%3d, "
|
DBG_8723A("%s signal_strength:%3u, signal_qual:%3u, "
|
||||||
"signal_qual:%3u, num_signal_strength:%u, "
|
"num_signal_strength:%u, num_signal_qual:%u\n",
|
||||||
"num_signal_qual:%u\n",
|
|
||||||
__func__, recvpriv->signal_strength,
|
__func__, recvpriv->signal_strength,
|
||||||
recvpriv->rssi, recvpriv->signal_qual,
|
recvpriv->signal_qual, num_signal_strength,
|
||||||
num_signal_strength, num_signal_qual);
|
num_signal_qual);
|
||||||
}
|
}
|
||||||
|
|
||||||
rtw_set_signal_stat_timer(recvpriv);
|
rtw_set_signal_stat_timer(recvpriv);
|
||||||
|
|
|
@ -200,7 +200,6 @@ struct recv_priv {
|
||||||
u8 *precv_buf;
|
u8 *precv_buf;
|
||||||
|
|
||||||
/* For display the phy informatiom */
|
/* For display the phy informatiom */
|
||||||
s8 rssi;
|
|
||||||
s8 rxpwdb;
|
s8 rxpwdb;
|
||||||
u8 signal_strength;
|
u8 signal_strength;
|
||||||
u8 signal_qual;
|
u8 signal_qual;
|
||||||
|
|
Loading…
Reference in a new issue