summaryrefslogtreecommitdiff
path: root/sys/dev/ic/if_wi.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2012-11-29 21:10:33 +0000
committerBrad Smith <brad@cvs.openbsd.org>2012-11-29 21:10:33 +0000
commitbe521bebf39a09547a4e366fc77262c12d9eea93 (patch)
tree3f7f415ef1cbc7049414ef8a3d7999ce78806d27 /sys/dev/ic/if_wi.c
parent1bdab4f147158a9e9d8e8b796a7ae3a8fb71e70c (diff)
Remove setting an initial assumed baudrate upon driver attach which is not
necessarily correct, there might not even be a link when attaching. ok mikeb@ reyk@
Diffstat (limited to 'sys/dev/ic/if_wi.c')
-rw-r--r--sys/dev/ic/if_wi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index cb97c93abbb..67066a8b420 100644
--- a/sys/dev/ic/if_wi.c
+++ b/sys/dev/ic/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.150 2011/06/21 16:52:45 tedu Exp $ */
+/* $OpenBSD: if_wi.c,v 1.151 2012/11/29 21:10:31 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -237,7 +237,6 @@ wi_attach(struct wi_softc *sc, struct wi_funcs *funcs)
ifp->if_ioctl = funcs->f_ioctl;
ifp->if_start = funcs->f_start;
ifp->if_watchdog = funcs->f_watchdog;
- ifp->if_baudrate = 10000000;
IFQ_SET_READY(&ifp->if_snd);
(void)wi_set_ssid(&sc->wi_node_name, WI_DEFAULT_NODENAME,