Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci increase command response timeout value.
details: https://anonhg.NetBSD.org/src/rev/6505f4db5ae0
branches: trunk
changeset: 350776:6505f4db5ae0
user: nonaka <nonaka%NetBSD.org@localhost>
date: Sat Jan 21 05:43:24 2017 +0000
description:
increase command response timeout value.
diffstat:
sys/dev/pci/if_iwm.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 52b97b3ed522 -r 6505f4db5ae0 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Sat Jan 21 05:40:47 2017 +0000
+++ b/sys/dev/pci/if_iwm.c Sat Jan 21 05:43:24 2017 +0000
@@ -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 @@
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) {
Home |
Main Index |
Thread Index |
Old Index