diff options
author | sam <sam@FreeBSD.org> | 2009-06-02 20:00:43 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-06-02 20:00:43 +0000 |
commit | 6e92f3bfaaa3634498f6fb33f8a3ff061f10793f (patch) | |
tree | 4e0635f26dabdbad84701304c3c615b7a3a57e06 /sys/net80211 | |
parent | be537b69f0c50e8b20f6d1711ae04899914aa683 (diff) | |
download | FreeBSD-src-6e92f3bfaaa3634498f6fb33f8a3ff061f10793f.zip FreeBSD-src-6e92f3bfaaa3634498f6fb33f8a3ff061f10793f.tar.gz |
partially fix mode setting; this no longer returns an error but still
needs to handle the case where the vap is up+running
Noticed by: "Paul B. Mahol" <onemda@gmail.com>
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211.c b/sys/net80211/ieee80211.c index 93bb0ae..092514b 100644 --- a/sys/net80211/ieee80211.c +++ b/sys/net80211/ieee80211.c @@ -1186,7 +1186,7 @@ ieee80211_media_change(struct ifnet *ifp) return EINVAL; if (vap->iv_des_mode != newmode) { vap->iv_des_mode = newmode; - return ENETRESET; + /* XXX kick state machine if up+running */ } return 0; } |