diff options
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/dev.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/rx.c | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index e91d819555eb..7aec0d4e20f9 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -60,7 +60,6 @@ void libertas_mac_event_disconnected(wlan_private * priv) | |||
60 | memset(adapter->rawNF, 0x00, sizeof(adapter->rawNF)); | 60 | memset(adapter->rawNF, 0x00, sizeof(adapter->rawNF)); |
61 | adapter->nextSNRNF = 0; | 61 | adapter->nextSNRNF = 0; |
62 | adapter->numSNRNF = 0; | 62 | adapter->numSNRNF = 0; |
63 | adapter->rxpd_rate = 0; | ||
64 | lbs_deb_cmd("current SSID '%s', length %u\n", | 63 | lbs_deb_cmd("current SSID '%s', length %u\n", |
65 | escape_essid(adapter->curbssparams.ssid, | 64 | escape_essid(adapter->curbssparams.ssid, |
66 | adapter->curbssparams.ssid_len), | 65 | adapter->curbssparams.ssid_len), |
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h index 9e18f012333c..850518e9cbcb 100644 --- a/drivers/net/wireless/libertas/dev.h +++ b/drivers/net/wireless/libertas/dev.h | |||
@@ -343,7 +343,6 @@ struct _wlan_adapter { | |||
343 | u8 rawNF[DEFAULT_DATA_AVG_FACTOR]; | 343 | u8 rawNF[DEFAULT_DATA_AVG_FACTOR]; |
344 | u16 nextSNRNF; | 344 | u16 nextSNRNF; |
345 | u16 numSNRNF; | 345 | u16 numSNRNF; |
346 | u16 rxpd_rate; | ||
347 | 346 | ||
348 | u8 radioon; | 347 | u8 radioon; |
349 | u32 preamble; | 348 | u32 preamble; |
diff --git a/drivers/net/wireless/libertas/rx.c b/drivers/net/wireless/libertas/rx.c index 25d45c646d71..2473931f8151 100644 --- a/drivers/net/wireless/libertas/rx.c +++ b/drivers/net/wireless/libertas/rx.c | |||
@@ -117,8 +117,6 @@ static void wlan_compute_rssi(wlan_private * priv, struct rxpd *p_rx_pd) | |||
117 | adapter->NF[TYPE_RXPD][TYPE_NOAVG] = p_rx_pd->nf; | 117 | adapter->NF[TYPE_RXPD][TYPE_NOAVG] = p_rx_pd->nf; |
118 | wlan_save_rawSNRNF(priv, p_rx_pd); | 118 | wlan_save_rawSNRNF(priv, p_rx_pd); |
119 | 119 | ||
120 | adapter->rxpd_rate = p_rx_pd->rx_rate; | ||
121 | |||
122 | adapter->SNR[TYPE_RXPD][TYPE_AVG] = wlan_getavgsnr(priv) * AVG_SCALE; | 120 | adapter->SNR[TYPE_RXPD][TYPE_AVG] = wlan_getavgsnr(priv) * AVG_SCALE; |
123 | adapter->NF[TYPE_RXPD][TYPE_AVG] = wlan_getavgnf(priv) * AVG_SCALE; | 121 | adapter->NF[TYPE_RXPD][TYPE_AVG] = wlan_getavgnf(priv) * AVG_SCALE; |
124 | lbs_deb_rx("after computing SNR: SNR-avg = %d, NF-avg = %d\n", | 122 | lbs_deb_rx("after computing SNR: SNR-avg = %d, NF-avg = %d\n", |