diff options
author | adrian <adrian@FreeBSD.org> | 2012-03-04 23:04:16 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-03-04 23:04:16 +0000 |
commit | 83811db6cbd92c2c09bae276e709fd1b8beed0a0 (patch) | |
tree | 507f452f8fd3c99759424016e1a7f90fc6a2df88 /sys/net80211 | |
parent | 71d521a662dac5254c0476e328e5af8071d5b06c (diff) | |
download | FreeBSD-src-83811db6cbd92c2c09bae276e709fd1b8beed0a0.zip FreeBSD-src-83811db6cbd92c2c09bae276e709fd1b8beed0a0.tar.gz |
Fix style(9) issues.
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_alq.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/sys/net80211/ieee80211_alq.c b/sys/net80211/ieee80211_alq.c index 0d06d4b..1586b5e 100644 --- a/sys/net80211/ieee80211_alq.c +++ b/sys/net80211/ieee80211_alq.c @@ -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; - - enable = (ieee80211_alq != NULL); - error = sysctl_handle_int(oidp, &enable, 0, req); - if (error || !req->newptr) - return (error); - else - return (ieee80211_alq_setlogging(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)); } SYSCTL_PROC(_net_wlan, OID_AUTO, alq, CTLTYPE_INT|CTLFLAG_RW, |