mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
rtwn: silence compiler warning (-Wmaybe-uninitialized).
Reported by: adrian
This commit is contained in:
parent
a222710ce2
commit
0ea682eb8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue