diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-10-05 18:13:26 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-10-05 18:13:26 +0000 |
commit | 5b0254a3d87ca530dee38ea8e0e7d13fea848311 (patch) | |
tree | 543c4c495f13c262161771a18a1ca75b4837919b /sys/dev/pci/if_iwm.c | |
parent | 09413d73532b3474ab316d13ab92790a38afa352 (diff) |
Set the USE_RTS flag in the right place. Error introduced in if_iwm.c r1.139.
Diffstat (limited to 'sys/dev/pci/if_iwm.c')
-rw-r--r-- | sys/dev/pci/if_iwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 532ac42e186..74eb390255b 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.142 2016/09/27 15:54:33 stsp Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.143 2016/10/05 18:13:25 stsp Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh <info@genua.de> @@ -5282,11 +5282,11 @@ iwm_setrates(struct iwm_node *in) struct iwm_host_cmd cmd = { .id = IWM_LQ_CMD, .len = { sizeof(in->in_lq), }, - .flags = IWM_LQ_FLAG_USE_RTS_MSK, }; memset(lq, 0, sizeof(*lq)); lq->sta_id = IWM_STATION_ID; + lq->flags = IWM_LQ_FLAG_USE_RTS_MSK; sgi_ok = ((ni->ni_flags & IEEE80211_NODE_HT) && (ni->ni_htcaps & IEEE80211_HTCAP_SGI20)); |