summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi/if_wivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wi/if_wivar.h')
-rw-r--r--sys/dev/wi/if_wivar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wivar.h b/sys/dev/wi/if_wivar.h
index e615e0b..92d908d 100644
--- a/sys/dev/wi/if_wivar.h
+++ b/sys/dev/wi/if_wivar.h
@@ -85,10 +85,11 @@ struct wi_key {
u_int8_t wi_keydat[14];
};
+#define WI_NLTV_KEYS 4
struct wi_ltv_keys {
u_int16_t wi_len;
u_int16_t wi_type;
- struct wi_key wi_keys[4];
+ struct wi_key wi_keys[WI_NLTV_KEYS];
};
struct wi_softc {
OpenPOWER on IntegriCloud