IFM_OPMODE
if (IFM_OPMODE(ifmr->ifm_active) == IFM_IEEE80211_STA) {
if (IFM_OPMODE(ifmr.ifm_active) == IFM_IEEE80211_STA)