diff options
Diffstat (limited to 'sys/dev/iwm/if_iwm_phy_ctxt.c')
-rw-r--r-- | sys/dev/iwm/if_iwm_phy_ctxt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/iwm/if_iwm_phy_ctxt.c b/sys/dev/iwm/if_iwm_phy_ctxt.c index bd6292f..d1dfadf 100644 --- a/sys/dev/iwm/if_iwm_phy_ctxt.c +++ b/sys/dev/iwm/if_iwm_phy_ctxt.c @@ -189,7 +189,7 @@ iwm_mvm_phy_ctxt_cmd_data(struct iwm_softc *sc, struct iwm_phy_context_cmd *cmd, struct ieee80211_channel *chan, uint8_t chains_static, uint8_t chains_dynamic) { - struct ieee80211com *ic = sc->sc_ic; + struct ieee80211com *ic = &sc->sc_ic; uint8_t active_cnt, idle_cnt; IWM_DPRINTF(sc, IWM_DEBUG_RESET | IWM_DEBUG_CMD, @@ -273,7 +273,7 @@ iwm_mvm_phy_ctxt_add(struct iwm_softc *sc, struct iwm_mvm_phy_ctxt *ctxt, IWM_DPRINTF(sc, IWM_DEBUG_RESET | IWM_DEBUG_CMD, "%s: called; channel=%d\n", __func__, - ieee80211_chan2ieee(sc->sc_ic, chan)); + ieee80211_chan2ieee(&sc->sc_ic, chan)); return iwm_mvm_phy_ctxt_apply(sc, ctxt, chains_static, chains_dynamic, IWM_FW_CTXT_ACTION_ADD, 0); @@ -294,7 +294,7 @@ iwm_mvm_phy_ctxt_changed(struct iwm_softc *sc, IWM_DPRINTF(sc, IWM_DEBUG_RESET | IWM_DEBUG_CMD, "%s: called; channel=%d\n", __func__, - ieee80211_chan2ieee(sc->sc_ic, chan)); + ieee80211_chan2ieee(&sc->sc_ic, chan)); return iwm_mvm_phy_ctxt_apply(sc, ctxt, chains_static, chains_dynamic, IWM_FW_CTXT_ACTION_MODIFY, 0); |