Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mwl/if_mwl.c
Show First 20 Lines • Show All 1,233 Lines • ▼ Show 20 Lines | mwl_hal_setnprotmode(hvap, | ||||
MS(ic->ic_curhtprotmode, IEEE80211_HTINFO_OPMODE)); | MS(ic->ic_curhtprotmode, IEEE80211_HTINFO_OPMODE)); | ||||
return mwl_beacon_setup(vap); | return mwl_beacon_setup(vap); | ||||
} | } | ||||
return 0; | return 0; | ||||
} | } | ||||
/* | /* | ||||
* Reset the hardware w/o losing operational state. | * Reset the hardware w/o losing operational state. | ||||
* Used to to reset or reload hardware state for a vap. | * Used to reset or reload hardware state for a vap. | ||||
*/ | */ | ||||
static int | static int | ||||
mwl_reset(struct ieee80211vap *vap, u_long cmd) | mwl_reset(struct ieee80211vap *vap, u_long cmd) | ||||
{ | { | ||||
struct mwl_hal_vap *hvap = MWL_VAP(vap)->mv_hvap; | struct mwl_hal_vap *hvap = MWL_VAP(vap)->mv_hvap; | ||||
int error = 0; | int error = 0; | ||||
if (hvap != NULL) { /* WDS, MONITOR, etc. */ | if (hvap != NULL) { /* WDS, MONITOR, etc. */ | ||||
▲ Show 20 Lines • Show All 3,586 Lines • Show Last 20 Lines |