Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2012 23:04:17 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232525 - head/sys/net80211
Message-ID:  <201203042304.q24N4HUt056242@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sun Mar  4 23:04:16 2012
New Revision: 232525
URL: http://svn.freebsd.org/changeset/base/232525

Log:
  Fix style(9) issues.

Modified:
  head/sys/net80211/ieee80211_alq.c

Modified: head/sys/net80211/ieee80211_alq.c
==============================================================================
--- head/sys/net80211/ieee80211_alq.c	Sun Mar  4 22:46:11 2012	(r232524)
+++ head/sys/net80211/ieee80211_alq.c	Sun Mar  4 23:04:16 2012	(r232525)
@@ -85,8 +85,10 @@ ieee80211_alq_setlogging(int enable)
 		    ieee80211_alq_qsize);
 		ieee80211_alq_lost = 0;
 		ieee80211_alq_logged = 0;
-		printf("net80211: logging to %s enabled; struct size %d bytes\n",
-		    ieee80211_alq_logfile, sizeof(struct ieee80211_alq_rec));
+		printf("net80211: logging to %s enabled; "
+		    "struct size %d bytes\n",
+		    ieee80211_alq_logfile,
+		    sizeof(struct ieee80211_alq_rec));
 	} else {
 		if (ieee80211_alq)
 			alq_close(ieee80211_alq);
@@ -100,14 +102,14 @@ ieee80211_alq_setlogging(int enable)
 static int
 sysctl_ieee80211_alq_log(SYSCTL_HANDLER_ARGS)
 {
-        int error, enable;
+	int error, enable;
 
-        enable = (ieee80211_alq != NULL);
-        error = sysctl_handle_int(oidp, &enable, 0, req);
-        if (error || !req->newptr)
-                return (error);
-        else   
-                return (ieee80211_alq_setlogging(enable));
+	enable = (ieee80211_alq != NULL);
+	error = sysctl_handle_int(oidp, &enable, 0, req);
+	if (error || !req->newptr)
+		return (error);
+	else
+		return (ieee80211_alq_setlogging(enable));
 }
 
 SYSCTL_PROC(_net_wlan, OID_AUTO, alq, CTLTYPE_INT|CTLFLAG_RW,



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