summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_aironet_ieee.h
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2001-06-22 23:35:24 +0000
committerbrooks <brooks@FreeBSD.org>2001-06-22 23:35:24 +0000
commitcb05fc6c2a8bdf494106b7b9b73e2a36ef37f0df (patch)
treecc8cdfa400f80dd560f8e223192365ce6a55a456 /sys/dev/an/if_aironet_ieee.h
parentdfa68807f4be9196e97eddca29217d6347a289d0 (diff)
downloadFreeBSD-src-cb05fc6c2a8bdf494106b7b9b73e2a36ef37f0df.zip
FreeBSD-src-cb05fc6c2a8bdf494106b7b9b73e2a36ef37f0df.tar.gz
Fix a number of bugs in the implementation of the WEP related status
functions in ifconfig. "ifconfig an0" should output the correct status now. Also, make the read and write functions both more robust and more consistant. This should stop most of the incorrect size complaints and eliminate the possiability of panics from firmware that increases resource sizes. PR: kern/27826 Reviewed by: imp, jlemon Submitted by: Doug Ambrisko <ambrisko@ambrisko.com> David Wolfskill <dhw@whistle.com>
Diffstat (limited to 'sys/dev/an/if_aironet_ieee.h')
-rw-r--r--sys/dev/an/if_aironet_ieee.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_aironet_ieee.h b/sys/dev/an/if_aironet_ieee.h
index a1eeb26..b1ab4be 100644
--- a/sys/dev/an/if_aironet_ieee.h
+++ b/sys/dev/an/if_aironet_ieee.h
@@ -528,7 +528,7 @@ struct an_ltv_status {
u_int16_t an_max_noise_prev_sec; /* 0x7A */
u_int16_t an_avg_noise_prev_min; /* 0x7C */
u_int16_t an_max_noise_prev_min; /* 0x7E */
- u_int16_t an_spare[3];
+ u_int16_t an_spare[5];
};
#define AN_STATUS_OPMODE_CONFIGURED 0x0001
OpenPOWER on IntegriCloud