Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci use correct header size.
details: https://anonhg.NetBSD.org/src/rev/edc8ca71cf07
branches: trunk
changeset: 350269:edc8ca71cf07
user: nonaka <nonaka%NetBSD.org@localhost>
date: Mon Jan 09 08:05:14 2017 +0000
description:
use correct header size.
diffstat:
sys/dev/pci/if_iwm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ddad7c92ee9c -r edc8ca71cf07 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Mon Jan 09 03:09:05 2017 +0000
+++ b/sys/dev/pci/if_iwm.c Mon Jan 09 08:05:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_iwm.c,v 1.51 2017/01/08 08:29:23 nonaka Exp $ */
+/* $NetBSD: if_iwm.c,v 1.52 2017/01/09 08:05:14 nonaka Exp $ */
/* OpenBSD: if_iwm.c,v 1.147 2016/11/17 14:12:33 stsp Exp */
#define IEEE80211_NO_HT
/*
@@ -107,7 +107,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.51 2017/01/08 08:29:23 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.52 2017/01/09 08:05:14 nonaka Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -3856,7 +3856,7 @@
desc->num_tbs = 1;
DPRINTFN(8, ("iwm_send_cmd 0x%x size=%zu %s\n",
- code, sizeof(cmd->hdr) + paylen, async ? " (async)" : ""));
+ code, hdrlen + paylen, async ? " (async)" : ""));
if (paylen > datasz) {
bus_dmamap_sync(sc->sc_dmat, txdata->map, 0,
Home |
Main Index |
Thread Index |
Old Index