rtwn: silence compiler warning (-Wmaybe-uninitialized).

Reported by:	adrian
This commit is contained in:
Andriy Voskoboinyk 2016-12-29 22:36:16 +00:00
parent a222710ce2
commit 0ea682eb8e

View file

@ -332,7 +332,7 @@ r12a_set_band(struct rtwn_softc *sc, struct ieee80211_channel *c)
/* XXX PATH_B is set by vendor driver. */
for (i = 0; i < 2; i++) {
uint16_t val;
uint16_t val = 0;
switch ((swing >> i * 2) & 0x3) {
case 0: