diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2018-01-02 00:07:28 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2018-01-02 00:07:28 +0000 |
commit | 9fbe631a1ad7f8a1a2f45645d9c8dd50c2a8bb67 (patch) | |
tree | a5d7faed2a65fbf7d4faeb3ab70921425993d533 /sys/dev/bwn | |
parent | cb1101afd7dcab548680a142d4a4b375a5a39b08 (diff) | |
download | src-9fbe631a1ad7f8a1a2f45645d9c8dd50c2a8bb67.tar.gz src-9fbe631a1ad7f8a1a2f45645d9c8dd50c2a8bb67.zip |
Notes
Diffstat (limited to 'sys/dev/bwn')
-rw-r--r-- | sys/dev/bwn/if_bwn.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index 91c63093afa6..26e13e528f7e 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -1755,15 +1755,18 @@ bwn_wme_update(struct ieee80211com *ic) { struct bwn_softc *sc = ic->ic_softc; struct bwn_mac *mac = sc->sc_curmac; + struct chanAccParams chp; struct wmeParams *wmep; int i; + ieee80211_wme_ic_getparams(ic, &chp); + BWN_LOCK(sc); mac = sc->sc_curmac; if (mac != NULL && mac->mac_status >= BWN_MAC_STATUS_INITED) { bwn_mac_suspend(mac); for (i = 0; i < N(sc->sc_wmeParams); i++) { - wmep = &ic->ic_wme.wme_chanParams.cap_wmeParams[i]; + wmep = &chp.cap_wmeParams[i]; bwn_wme_loadparams(mac, wmep, bwn_wme_shm_offsets[i]); } bwn_mac_enable(mac); |