Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2009 22:16:29 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r191709 - user/thompsa/vaptq/sys/net80211
Message-ID:  <200904302216.n3UMGTDw024375@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Thu Apr 30 22:16:29 2009
New Revision: 191709
URL: http://svn.freebsd.org/changeset/base/191709

Log:
  Match style to the existing code.

Modified:
  user/thompsa/vaptq/sys/net80211/ieee80211_proto.c

Modified: user/thompsa/vaptq/sys/net80211/ieee80211_proto.c
==============================================================================
--- user/thompsa/vaptq/sys/net80211/ieee80211_proto.c	Thu Apr 30 22:10:04 2009	(r191708)
+++ user/thompsa/vaptq/sys/net80211/ieee80211_proto.c	Thu Apr 30 22:16:29 2009	(r191709)
@@ -1642,12 +1642,12 @@ ieee80211_newstate_cb_locked(struct ieee
 		IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE,
 		    "%s: %s returned error %d\n", __func__,
 		    ieee80211_state_name[nstate], rc);
-		return (rc);
+		return rc;
 	}
 
 	/* No actual transition, skip post processing */
 	if (ostate == nstate)
-		return (0);
+		return 0;
 
 	if (nstate == IEEE80211_S_RUN) {
 		/*
@@ -1675,7 +1675,7 @@ ieee80211_newstate_cb_locked(struct ieee
 		/* XXX NB: cast for altq */
 		ieee80211_flush_ifq((struct ifqueue *)&ic->ic_ifp->if_snd, vap);
 	}
-	return (0);
+	return 0;
 }
 
 /*
@@ -1722,7 +1722,7 @@ ieee80211_new_state_locked(struct ieee80
 			 * XXX The vap is being stopped, do no allow any other
 			 * state changes until this is completed.
 			 */
-			return (-1);
+			return -1;
 		}
 		/* Warn if the previous state hasn't completed. */
 		IEEE80211_DPRINTF(vap, IEEE80211_MSG_STATE,
@@ -1766,7 +1766,7 @@ ieee80211_new_state_locked(struct ieee80
 				    __func__, ieee80211_state_name[ostate],
 				    ieee80211_state_name[nstate]);
 				vap->iv_flags_ext |= IEEE80211_FEXT_SCANWAIT;
-				return (0);
+				return 0;
 			}
 			if (nrunning) {
 				/*
@@ -1806,7 +1806,7 @@ ieee80211_new_state_locked(struct ieee80
 			     ieee80211_state_name[ostate],
 			     ieee80211_state_name[nstate]);
 			vap->iv_flags_ext |= IEEE80211_FEXT_SCANWAIT;
-			return (0);
+			return 0;
 		}
 		if (vap->iv_opmode == IEEE80211_M_HOSTAP &&
 		    IEEE80211_IS_CHAN_DFS(ic->ic_bsschan) &&
@@ -1840,7 +1840,7 @@ ieee80211_new_state_locked(struct ieee80
 	vap->iv_nstate_arg = arg;
 	vap->iv_flags_ext |= IEEE80211_FEXT_STATEWAIT;
 	ieee80211_runtask(ic, &vap->iv_nstate_task);
-	return (EINPROGRESS);
+	return EINPROGRESS;
 }
 
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904302216.n3UMGTDw024375>