diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-09-03 19:47:59 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-09-03 19:47:59 +0000 |
commit | 984b5384dcc90aa164fa19cd817fa117c0ebb2f4 (patch) | |
tree | 0277e6391f9816c56c689d42447072191c2332d6 /sys/dev/pci/if_iwi.c | |
parent | ac4a961f0dd9866075fa4edf8e74deeca14999a8 (diff) |
(Re)Association requests should contain a QoS Capability element,
not an EDCA Parameter Set element (spotted by IEEE80211_STA_ONLY).
Diffstat (limited to 'sys/dev/pci/if_iwi.c')
-rw-r--r-- | sys/dev/pci/if_iwi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index 0ea7b52ed17..0cfdc95f3c1 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.92 2008/09/03 19:43:59 damien Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.93 2008/09/03 19:47:58 damien Exp $ */ /*- * Copyright (c) 2004-2008 @@ -2125,9 +2125,9 @@ iwi_auth_and_assoc(struct iwi_softc *sc) if (ic->ic_flags & IEEE80211_F_QOS) { iwi_update_edca(ic); - frm = ieee80211_add_edca_params(buf, ic); - DPRINTF(("Setting EDCA IE length %d\n", frm - buf)); - error = iwi_cmd(sc, IWI_CMD_SET_EDCAIE, buf, frm - buf, 1); + frm = ieee80211_add_qos_capability(buf, ic); + DPRINTF(("Setting QoS Capability IE length %d\n", frm - buf)); + error = iwi_cmd(sc, IWI_CMD_SET_QOS_CAP, buf, frm - buf, 1); if (error != 0) return error; } |