svn commit: r191700 - user/thompsa/vaptq/sys/dev/wi

Andrew Thompson thompsa at FreeBSD.org
Thu Apr 30 18:56:01 UTC 2009


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);
 }


More information about the svn-src-user mailing list