mistake bit number of tx_rate

case 4 -> case 5
This commit is contained in:
ichiro 2002-01-20 07:26:14 +00:00
parent 19ae79a0b6
commit 93c743cc3b
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: wi.c,v 1.33 2002/01/20 05:39:52 ichiro Exp $ */
/* $NetBSD: wi.c,v 1.34 2002/01/20 07:26:14 ichiro Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.33 2002/01/20 05:39:52 ichiro Exp $");
__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.34 2002/01/20 07:26:14 ichiro Exp $");
#define WI_HERMES_AUTOINC_WAR /* Work around data write autoinc bug. */
#define WI_HERMES_STATS_WAR /* Work around stats counter bug. */
@ -1912,7 +1912,7 @@ wi_sync_media(sc, ptype, txrate)
case 3:
subtype = IFM_AUTO;
break;
case 4:
case 5:
subtype = IFM_IEEE80211_DS5;
break;
case 11:
@ -1967,7 +1967,7 @@ wi_media_change(ifp)
sc->wi_tx_rate = 3;
break;
case IFM_IEEE80211_DS5:
sc->wi_tx_rate = 4;
sc->wi_tx_rate = 5;
break;
case IFM_IEEE80211_DS11:
sc->wi_tx_rate = 11;