Date: Thu, 30 Apr 2009 18:56:00 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r191700 - user/thompsa/vaptq/sys/dev/wi Message-ID: <200904301856.n3UIu061020192@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Thu Apr 30 18:56:00 2009 New Revision: 191700 URL: http://svn.freebsd.org/changeset/base/191700 Log: Change the newstate return code from EINPROGRESS to 0 when we circumvent the state change since it did actually complete. Modified: user/thompsa/vaptq/sys/dev/wi/if_wi.c Modified: user/thompsa/vaptq/sys/dev/wi/if_wi.c ============================================================================== --- user/thompsa/vaptq/sys/dev/wi/if_wi.c Thu Apr 30 18:00:53 2009 (r191699) +++ user/thompsa/vaptq/sys/dev/wi/if_wi.c Thu Apr 30 18:56:00 2009 (r191700) @@ -892,7 +892,7 @@ wi_newstate_sta(struct ieee80211vap *vap * notification we get on association. */ vap->iv_state = nstate; - return EINPROGRESS; + return (0); } return WI_VAP(vap)->wv_newstate(vap, nstate, arg); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904301856.n3UIu061020192>