diff options
author | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-10-12 19:53:25 +0000 |
---|---|---|
committer | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-10-12 19:53:25 +0000 |
commit | 15e03b4a463ed6ed94dfb27d1c84e3a97d13bbc0 (patch) | |
tree | a6dc4ae8f17214590070296e8830af2bf2da84fa /sys/dev/pci/if_iwn.c | |
parent | b38ffca2660897cf5d8ef177a6f01630b9cc7ad5 (diff) |
Cleanup false positives for uninitialized uses.
Part of the work to remove -Wno-uninitialized.
ok blambert jsg
Diffstat (limited to 'sys/dev/pci/if_iwn.c')
-rw-r--r-- | sys/dev/pci/if_iwn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c index a45f0bf8096..89c115ca2bd 100644 --- a/sys/dev/pci/if_iwn.c +++ b/sys/dev/pci/if_iwn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwn.c,v 1.113 2012/01/26 00:45:40 deraadt Exp $ */ +/* $OpenBSD: if_iwn.c,v 1.114 2012/10/12 19:53:24 haesbaert Exp $ */ /*- * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> @@ -2711,6 +2711,7 @@ iwn_tx(struct iwn_softc *sc, struct mbuf *m, struct ieee80211_node *ni) tid = qos & IEEE80211_QOS_TID; ac = ieee80211_up_to_ac(ic, tid); } else { + qos = 0; tid = 0; ac = EDCA_AC_BE; } |