From fe44dad7b96dbd54f5d898111742da8e2e3bffb6 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Thu, 30 Nov 2006 17:23:35 +0000 Subject: fix wep key index in firmware command. ok mglocker@ --- sys/dev/ic/malo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index 10782915ae8..ab4f060ad70 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malo.c,v 1.46 2006/11/30 08:20:25 mglocker Exp $ */ +/* $OpenBSD: malo.c,v 1.47 2006/11/30 17:23:34 damien Exp $ */ /* * Copyright (c) 2006 Claudio Jeker @@ -1912,7 +1912,7 @@ malo_set_wepkey(struct malo_softc *sc) if (wk->wk_len == 0) continue; - if (malo_cmd_set_wepkey(sc, wk, ic->ic_wep_txkey)) + if (malo_cmd_set_wepkey(sc, wk, i)) return (ENXIO); } -- cgit v1.2.3