5 if ((sc->sc_nvaps != 0) && (ic->ic_opmode == IEEE80211_M_STA))
8 + if (ic->ic_opmode == IEEE80211_M_HOSTAP)
9 + ic_opmode = ic->ic_opmode;
13 case IEEE80211_M_AHDEMO:
14 case IEEE80211_M_MONITOR:
16 * frames. Other modes carry over directly to the HAL.
18 if (ic->ic_opmode == IEEE80211_M_AHDEMO)
19 - sc->sc_opmode = HAL_M_IBSS;
20 + sc->sc_opmode = HAL_M_HOSTAP;
22 sc->sc_opmode = (HAL_OPMODE) ic->ic_opmode; /* NB: compatible */