Module Name: src Committed By: nonaka Date: Sat Jan 21 05:43:24 UTC 2017
Modified Files: src/sys/dev/pci: if_iwm.c Log Message: increase command response timeout value. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/dev/pci/if_iwm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_iwm.c diff -u src/sys/dev/pci/if_iwm.c:1.66 src/sys/dev/pci/if_iwm.c:1.67 --- src/sys/dev/pci/if_iwm.c:1.66 Sat Jan 21 05:40:47 2017 +++ src/sys/dev/pci/if_iwm.c Sat Jan 21 05:43:24 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: if_iwm.c,v 1.66 2017/01/21 05:40:47 nonaka Exp $ */ +/* $NetBSD: if_iwm.c,v 1.67 2017/01/21 05:43:24 nonaka Exp $ */ /* OpenBSD: if_iwm.c,v 1.148 2016/11/19 21:07:08 stsp Exp */ #define IEEE80211_NO_HT /* @@ -107,7 +107,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.66 2017/01/21 05:40:47 nonaka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.67 2017/01/21 05:43:24 nonaka Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -3998,7 +3998,7 @@ iwm_send_cmd(struct iwm_softc *sc, struc if (!async) { int generation = sc->sc_generation; - err = tsleep(desc, PCATCH, "iwmcmd", mstohz(1000)); + err = tsleep(desc, PCATCH, "iwmcmd", mstohz(2000)); if (err == 0) { /* if hardware is no longer up, return error */ if (generation != sc->sc_generation) {