Fix style(9) issues.
This commit is contained in:
parent
5e07d0314f
commit
22eeb8c617
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user