From: stsp Date: Thu, 27 Apr 2017 06:14:23 +0000 (+0000) Subject: Restore if_iwm.c r1.173 (mira retry change) which got incarcerated by X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2249f14cc36c6d3a8c977d5e0f5b5e953386229c;p=openbsd 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@ --- 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 @@ -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)