summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2017-04-27 06:14:23 +0000
committerstsp <stsp@openbsd.org>2017-04-27 06:14:23 +0000
commit2249f14cc36c6d3a8c977d5e0f5b5e953386229c (patch)
treead534ce3b5ea72cceed3c2d87e3aa379b1066fa1
parentiwm(4) monitor mode support was backed out for now. (diff)
downloadwireguard-openbsd-2249f14cc36c6d3a8c977d5e0f5b5e953386229c.tar.xz
wireguard-openbsd-2249f14cc36c6d3a8c977d5e0f5b5e953386229c.zip
Restore if_iwm.c r1.173 (mira retry change) which got incarcerated by
the backout police even though it wasn't responsible for anything. pointed out by tb@
-rw-r--r--sys/dev/pci/if_iwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c
index 1ceef1e7fa1..215eef9f75d 100644
--- a/sys/dev/pci/if_iwm.c
+++ b/sys/dev/pci/if_iwm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwm.c,v 1.176 2017/04/27 05:46:51 stsp Exp $ */
+/* $OpenBSD: if_iwm.c,v 1.177 2017/04/27 06:14:23 stsp Exp $ */
/*
* Copyright (c) 2014, 2016 genua gmbh <info@genua.de>
@@ -3444,7 +3444,7 @@ iwm_rx_tx_cmd_single(struct iwm_softc *sc, struct iwm_rx_packet *pkt,
in->in_mn.ampdu_size = le16toh(tx_resp->byte_cnt);
in->in_mn.agglen = tx_resp->frame_count;
if (tx_resp->failure_frame > 0)
- in->in_mn.retries++;
+ in->in_mn.retries += tx_resp->failure_frame;
if (txfail)
in->in_mn.txfail += tx_resp->frame_count;
if (ic->ic_state == IEEE80211_S_RUN)