Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 14:39:59 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264972 - head/sys/dev/usb/wlan
Message-ID:  <201404261439.s3QEdxgY079467@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404261439.s3QEdxgY079467>