Author: kevlo
Date: Sat Apr 26 14:39:58 2014
New Revision: 264972
URL: http://svnweb.freebsd.org/changeset/base/264972
Log:
Initialize rssi variable.
Modified:
head/sys/dev/usb/wlan/if_urtwn.c
Modified: head/sys/dev/usb/wlan/if_urtwn.c
==============================================================================
--- head/sys/dev/usb/wlan/if_urtwn.c Sat Apr 26 13:55:03 2014
(r264971)
+++ head/sys/dev/usb/wlan/if_urtwn.c Sat Apr 26 14:39:58 2014
(r264972)
@@ -1738,6 +1738,7 @@ urtwn_r88e_get_rssi(struct urtwn_softc *
uint8_t cck_agc_rpt, lna_idx, vga_idx;
int8_t rssi;
+ rssi = 0;
if (rate <= 3) {
cck = (struct r88e_rx_cck *)physt;
cck_agc_rpt = cck->agc_rpt;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"