diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-03-03 16:39:55 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-03-03 16:39:55 +0000 |
commit | 6d29a63ca8a8c2cc8b721d73a36265b8c9b424d6 (patch) | |
tree | c878a18bd78c8c5151dcd38134d9e34b75cf7b5d /sys/dev/ic/ar5xxx.c | |
parent | e1b558f9f417c68b2bcf49aca007e26c494b64eb (diff) |
improve radiotap support, fix some minor bugs.
Diffstat (limited to 'sys/dev/ic/ar5xxx.c')
-rw-r--r-- | sys/dev/ic/ar5xxx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5xxx.c b/sys/dev/ic/ar5xxx.c index 3d004e34fc6..aa50782c007 100644 --- a/sys/dev/ic/ar5xxx.c +++ b/sys/dev/ic/ar5xxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5xxx.c,v 1.15 2005/02/25 22:25:30 reyk Exp $ */ +/* $OpenBSD: ar5xxx.c,v 1.16 2005/03/03 16:39:54 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -1191,7 +1191,7 @@ ar5k_ar5111_channel(hal, channel) /* * Set the channel on the AR5111 radio */ - data0 = 0; + data0 = data1 = 0; ath_channel = ieee_channel = ath_hal_mhz2ieee(channel->c_channel, channel->c_channel_flags); @@ -1230,6 +1230,7 @@ ar5k_ar5112_channel(hal, channel) u_int32_t data, data0, data1, data2; u_int16_t c; + data = data0 = data1 = data2 = 0; c = channel->c_channel; /* |