Date: Tue, 2 Jun 2009 20:00:44 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r193340 - head/sys/net80211 Message-ID: <200906022000.n52K0i4E026585@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Tue Jun 2 20:00:43 2009 New Revision: 193340 URL: http://svn.freebsd.org/changeset/base/193340 Log: 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> Modified: head/sys/net80211/ieee80211.c Modified: head/sys/net80211/ieee80211.c ============================================================================== --- head/sys/net80211/ieee80211.c Tue Jun 2 20:00:32 2009 (r193339) +++ head/sys/net80211/ieee80211.c Tue Jun 2 20:00:43 2009 (r193340) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906022000.n52K0i4E026585>