summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ar5xxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ar5xxx.c')
-rw-r--r--sys/dev/ic/ar5xxx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/ar5xxx.c b/sys/dev/ic/ar5xxx.c
index 57cf04bf7a4..928bcb55e7b 100644
--- a/sys/dev/ic/ar5xxx.c
+++ b/sys/dev/ic/ar5xxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ar5xxx.c,v 1.43 2007/09/07 10:57:23 reyk Exp $ */
+/* $OpenBSD: ar5xxx.c,v 1.44 2007/09/11 13:39:33 gilles Exp $ */
/*
* Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org>
@@ -174,7 +174,7 @@ ath_hal_attach(u_int16_t device, void *arg, bus_space_tag_t st,
}
if ((hal = malloc(sizeof(struct ath_hal),
- M_DEVBUF, M_NOWAIT|M_ZERO)) == NULL) {
+ M_DEVBUF, M_NOWAIT | M_ZERO)) == NULL) {
*status = ENOMEM;
AR5K_PRINT("out of memory\n");
return (NULL);
@@ -395,7 +395,7 @@ ath_hal_init_channels(struct ath_hal *hal, HAL_CHANNEL *channels,
HAL_CHANNEL *all_channels;
if ((all_channels = malloc(sizeof(HAL_CHANNEL) * max_channels,
- M_TEMP, M_NOWAIT|M_ZERO)) == NULL)
+ M_TEMP, M_NOWAIT | M_ZERO)) == NULL)
return (AH_FALSE);
i = c = 0;
@@ -1496,7 +1496,7 @@ ar5k_rfregs(struct ath_hal *hal, HAL_CHANNEL *channel, u_int mode)
if (hal->ah_rf_banks == NULL) {
/* XXX do extra checks? */
if ((hal->ah_rf_banks = malloc(hal->ah_rf_banks_size,
- M_DEVBUF, M_NOWAIT|M_ZERO)) == NULL) {
+ M_DEVBUF, M_NOWAIT | M_ZERO)) == NULL) {
AR5K_PRINT("out of memory\n");
return (AH_FALSE);
}