summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wi/if_wi.c')
-rw-r--r--sys/dev/wi/if_wi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index bebcd92..62e8bbc 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -941,7 +941,7 @@ wi_reset(struct wi_softc *sc)
struct ifnet *ifp = &ic->ic_if;
#define WI_INIT_TRIES 3
int i;
- int error;
+ int error = 0;
int tries;
/* Symbol firmware cannot be initialized more than once */
OpenPOWER on IntegriCloud